From dac2c7664c027dc433f8c928217cb4a956627550 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sun, 23 Mar 2025 23:29:24 +0100 Subject: [PATCH] cppcheck multicondition --- client/src/cmdlfem4x05.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdlfem4x05.c b/client/src/cmdlfem4x05.c index 539c2bf48..709322e3a 100644 --- a/client/src/cmdlfem4x05.c +++ b/client/src/cmdlfem4x05.c @@ -1173,7 +1173,7 @@ int CmdEM4x05Dump(const char *Cmd) { } else if (status == PM3_EFAILED) { PrintAndLogEx(WARNING, "password ( " _RED_("fail") ") , will try without password"); usePwd = false; - } else if (status != PM3_EFAILED) { + } else { PrintAndLogEx(WARNING, "Login attempt: no answer from tag"); return status; }