From 372a6958fa41cdd8607032b502cc3f61541d4116 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 5 Apr 2021 19:33:25 +0200 Subject: [PATCH] cppchecker fix, we can simplify test meanwhile --- client/src/loclass/hash1_brute.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/loclass/hash1_brute.c b/client/src/loclass/hash1_brute.c index 49f2cd3de..2f2842b2f 100644 --- a/client/src/loclass/hash1_brute.c +++ b/client/src/loclass/hash1_brute.c @@ -29,7 +29,8 @@ static void calc_score(uint8_t *csn, uint8_t *k) { // goodvals[k[i]] = 1; // } - else if (k[i] >= 16) { +// else if (k[i] >= 16) { + else { badscore++; badval = k[i]; }