cppchecker fix

This commit is contained in:
iceman1001
2021-01-28 14:20:33 +01:00
parent a5f4212809
commit 12c0eb97fb
2 changed files with 2 additions and 2 deletions

View File

@@ -2066,7 +2066,7 @@ static int CmdHF14AMfURestore(const char *Cmd) {
bool has_key = false;
if (ak_len > 0) {
if (ak_len != 4 || ak_len != 16) {
if (ak_len != 4 && ak_len != 16) {
PrintAndLogEx(ERR, "Wrong key length. expected 4 or 16, got %d", ak_len);
return PM3_EINVARG;
} else {