From ef7c30121715a4123101d8239458748e525946d9 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 12 Dec 2021 22:34:06 +0100 Subject: [PATCH] cppcheck - missing return statement --- armsrc/hitag2crack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/armsrc/hitag2crack.c b/armsrc/hitag2crack.c index 640e897a4..b6db19741 100644 --- a/armsrc/hitag2crack.c +++ b/armsrc/hitag2crack.c @@ -731,6 +731,8 @@ bool hitag2crack_consume_keystream(uint8_t *keybits, int kslen, int *ksoffset, u // update ksoffset with command length and response *ksoffset += (numcmds * 10) + 32; + + return true; } // hitag2crack_extend_keystream sends an extended command to retrieve more keybits.