mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-09 03:00:07 -04:00
cppcheck clarify mix of boolean and bitwise ops
This commit is contained in:
@@ -678,7 +678,7 @@ static int CmdIndalaClone(const char *Cmd) {
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
if (!got_26 & fmt4041x) {
|
||||
if ((!got_26) && fmt4041x) {
|
||||
PrintAndLogEx(FAILED, "You must specify a facility code and card number when using 4041X format");
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user