cppcheck multicondition

This commit is contained in:
Philippe Teuwen 2025-03-23 23:29:24 +01:00
commit dac2c7664c

View file

@ -1173,7 +1173,7 @@ int CmdEM4x05Dump(const char *Cmd) {
} else if (status == PM3_EFAILED) { } else if (status == PM3_EFAILED) {
PrintAndLogEx(WARNING, "password ( " _RED_("fail") ") , will try without password"); PrintAndLogEx(WARNING, "password ( " _RED_("fail") ") , will try without password");
usePwd = false; usePwd = false;
} else if (status != PM3_EFAILED) { } else {
PrintAndLogEx(WARNING, "Login attempt: no answer from tag"); PrintAndLogEx(WARNING, "Login attempt: no answer from tag");
return status; return status;
} }