From f6e47e5998ea158bb913703815de249ce6057c86 Mon Sep 17 00:00:00 2001 From: Kevin Schellberg Date: Tue, 6 Feb 2024 12:44:51 +0100 Subject: [PATCH] refactoring: Refactoring6 --- build/test/out/c/quizduell.o | Bin 13350 -> 13546 bytes build/test/out/test_quizduell.out | Bin 131036 -> 131548 bytes build/test/results/test_casualQuiz.pass | 2 +- build/test/results/test_quizduell.pass | 2 +- build/test/results/test_timequiz.pass | 2 +- build/test/results/test_wwm.pass | 2 +- src/quizduell.c | 3 ++- 7 files changed, 6 insertions(+), 5 deletions(-) diff --git a/build/test/out/c/quizduell.o b/build/test/out/c/quizduell.o index b0c72729b470550722dfa89112f2fe092b688cd4..4a25d86531d8a9f0aa9d40f25a33d26797a31174 100644 GIT binary patch delta 2074 zcmai#drVtZ9LIm>^g(H9OA7*J(3T<;#>NU_79MjD0bwvR!6;LwL+COF@+^Yrs4T!T zmALD1N{qVAY>U%nvfM-?PD8Q|xnPe0t}#LY^LA*B?4Rn5PEYpXMc(#_9w(g<~siDZ5695 zb?hr4S%#fs<@dN);;Q-bE!D2xY8G-_1+R#9>-dK^aimGCTC<#E+wSpo+N$}tf2h7w zwmN=)6wP9Xy@HL1!}b^1w44+_$oTB4IOr%w?SkVq+rj@d@wju6HORj?4;$GzG2z<8 zPKh~}i(M91UG+Fnm^#BAUK1Q_3xQ#jd40HGyiS?1<%Q;sj;_3mqF?%V}2vD~giJ0zY?OZ84E!?F0VfweEx+tU3K z=r=j%QBZz-UK~pE*42dn-NJb1q%5R&<62x_U#9VN+zCG#$2I!{t-j-pKp7$n!M%XYp>tzm7IaQ#+UM>Y!#?#K$FZ z+*7~?#FD3*c|?uZ&t^rpH=B9ocfDuW*8R*?=3)tW3i8=zm(EmTDK!*Z{1GudAMO@w z6UtlwZnCr#TO7<8Q=amQ8p0#?`qG$Jyywg14e?S%61yt@?AymJN&N;>$Pl~T;5;IB zX65})KTE!pRmkPUoJAI1z@w3mv(UruNLVJ)9U>zh7)`ShB@#(Q9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Ev` z)=3EU1OZO!+Ntx+++|E9 zOjS(vM0PW9zy4aqHeofsj7j{bG9|8Js;We!u%Rjs%d77e(|UV#MCeEE+AjVDO6wzw diff --git a/build/test/out/test_quizduell.out b/build/test/out/test_quizduell.out index 5e3825f80f1f9178309d79f83fb488b52db37de9..e00491bb32f2ef5d960cd079bfadf225b61b9cc6 100644 GIT binary patch delta 9558 zcmc&(d0drMw|>_P2M&`Q1QbvKWfT<=MRNokk26wEIDu1;2*{v7A}U(q2}O6hy`_d} zX=Q~T6Dd=0!ZH=dY%p#5I%WFNmzkNxeb##pDBrz*+`qnie(tlL^{ip8oB_7<#+T9L{q#;nF|{r=SlU?iK27>|k?GK$&WINrrmAi8 z%s)67h-QiVj=kun=%$aRw?(o(nU;xKeV2f!#Yi}91~TcKZX<1(w*y3JttAKjSw0gk zPU8&U=CQf?l=S_v}nF&5mAfc4}0r_{uX}4NW!2wRN?l`(mu0 zKmB1&_v@{y$7YMTwgKkj?cdVTRgu|go4S0u7#|!d1_bF<<8<+SaHR9jB^WivYnU#M z26q*22JKX1r@^VW>NpJ!z3IF-61+lnHW7w4)lr=6EMwjPW+k zKk9(jtK&G|ScBz@yNC(nWb4I0qN03eY6fdZFE-nZ<3wbSQN9ny;xr5kEIp=$W;L6? z6B~L&`I*@|F|cWvq0Q!(%wP2Icl6pBrziszoucFoLX!FJ88w!2;nsJc$1xaI*W~&& zvHQiezVkgsYiwRO)3Aq{?-}#OzIW{COHn&8hF%xH4~&fXp+5(@Z>n)WSYs?5cK_Ch zU)>GE43=5owVralt;7-Y_(A`2Q+xIlL&hwo55)UpUU6*~jfDtQFmsP+F>h>!|BfC_ zgap#2SpO-i>f0uQ6RtMkVlkFYtTdL5nrkdQW^wE;)+hMH+>X?&fz8&nr_m)lT(Vli zA6XvQEY;%6ggffW&Z2xmfVeebHR`e`u^rWjvP2)lh;Z&_^-r2_t!0aNFL9Qd+7-V3 z=3Y;Rt8E%W6y?W3T2|fOk=$3U#Wg}?PwZy6-k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WgT20h5Td0WL^qEam54RwyOjmqFRE^)FT=n{E)Lor< zi!3Vib)Z3S1MOl|#;E0Pp#FP+wlg};DDVxS-tPcyWptF0|C>PF_X2HVbeNIpEuhZt z0=>-WAS3U$fnxUoy~t=EBab~mZTAB`&u9-L_jiCI-ve65=nbH)djZ-U0JWM?38Tl1 zf)4_%d>3d(9SV9MTn%&E7%kri)btS0eMXxZW$XuPVh5^bRLm&tJ)lO1fqr825~GC& zfQ%miRWaJYXx>4f21kHqy$@8tsFIOZ3N+&o&>BWxGWrjrDR!V$M}clK`tvCEU3v~* zAX3!t$7r!rS*WgjNU7?x!|+M}2;O5p0Q#9x1*6pCKnX{H{>kVvqXmBh8eR(Y1Eced z=9~Z;aunzrMrRl$oy4jiRln}XPPzlEdVd6VS{cw$Mz z&*ZdfB0Vc}_JZUL5v^{0jH`!5{Tsqh;Jx$7d0K-9v?SH#EY6dMdi5-IqhfXaEPbq1 zWUC$LsH;|%qpqE!Nwh|_J5N9QW!H;7&=l{+D(V8gh68co0!_yL54(s%$R_`!{cVQD)>9C z(yFqRc7?jq0@dRR@=Q{BSJ34KbqhkP&QV>j(h%)vj#_nvg&*6mOdKnD@bKtH+!Hvq!yojdC$#VV{ycf?pM%%;?vx zk)v)6uuP&FjE8#kDRtA%XRFSi;ci%>#(zdPup}L>V<5#U>pDs`sjJuNV@g+BKBsPe zWp%yITal51Hy8Y#@zv*8CzBd>19Ka#7T-X|>TLDK4Xn=|_3sRj9e6IJ0&tZs=q4ZD9*y#g0R3UNM1{dtqx_}{E&*#XPZY!!El4pE}|_7*}z>r(6Q PpD3#)yEN!For?NjYyU8= diff --git a/build/test/results/test_casualQuiz.pass b/build/test/results/test_casualQuiz.pass index b8eee11..f60eb2d 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.022334299981594086 +:time: 0.025510799983749166 diff --git a/build/test/results/test_quizduell.pass b/build/test/results/test_quizduell.pass index aa4b0ee..4428cd2 100644 --- a/build/test/results/test_quizduell.pass +++ b/build/test/results/test_quizduell.pass @@ -51,4 +51,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.039953699975740165 +:time: 0.045171999983722344 diff --git a/build/test/results/test_timequiz.pass b/build/test/results/test_timequiz.pass index 9c3c852..103c5e2 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.02081809999071993 +:time: 0.02026409999234602 diff --git a/build/test/results/test_wwm.pass b/build/test/results/test_wwm.pass index eb16a2d..937bea4 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.019612700009020045 +:time: 0.020749499992234632 diff --git a/src/quizduell.c b/src/quizduell.c index cf3aa2c..c0cc856 100644 --- a/src/quizduell.c +++ b/src/quizduell.c @@ -169,7 +169,8 @@ void quizduell() { if (scanf("%s", auswahl) != 1) { } - int auswahlIndex = -1; + typedef int CategoryIndex; + CategoryIndex auswahlIndex = -1; for (int i = 0; i < MAX_CATEGORIES; i++) { if (kategorien[i].fragen != NULL && strcmp(auswahl, "Mountains") == 0) {