diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index ee0facf..9f00ee9 100644 Binary files a/build/test/out/c/quizduell.o and b/build/test/out/c/quizduell.o differ diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index c3bf663..27d65e3 100755 Binary files a/build/test/out/test_quizduell.out and b/build/test/out/test_quizduell.out differ diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index 036999b..2163396 100644 --- a/build/test/results/test_casualQuiz.pass +++ b/build/test/results/test_casualQuiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.01581269999996948 +:time: 0.01649479999991854 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index 717d64b..8ec5e8c 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -15,4 +15,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.03229369999985465 +:time: 0.03187730000013289 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index eb50023..00ea7a9 100644 --- a/build/test/results/test_timequiz.pass +++ b/build/test/results/test_timequiz.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016001700000060737 +:time: 0.016490100000055463 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index 47a55ed..e7894db 100644 --- a/build/test/results/test_wwm.pass +++ b/build/test/results/test_wwm.pass @@ -11,4 +11,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.016434800000070027 +:time: 0.017476199999919118 diff --git a/src/quizduell.c b/src/quizduell.c index db3f992..39f9d23 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -21,12 +21,14 @@ QuizFrage erstelleFrage(const char* frage, const char* antwortA, const char* ant } int spieleKategorie(Kategorie* kategorie) { + int punktzahl = 0; for (int i = 0; i < kategorie->anzahlFragen; i++) { char benutzerAntwort[10]; printf("\nQuestion %d:\n%s", i + 1, kategorie->fragen[i].frage); } + return punktzahl; } void zeigeVerfuegbareKategorien(Kategorie kategorien[]) {