cppcheck clarify mix of boolean and bitwise ops
This commit is contained in:
1 parent
d3c6c430a8
commit
971c0126de
1 file changed
+1
-1
@@ -678,7 +678,7 @@ static int CmdIndalaClone(const char *Cmd) {
|
|||||||
return PM3_EINVARG;
|
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");
|
PrintAndLogEx(FAILED, "You must specify a facility code and card number when using 4041X format");
|
||||||
return PM3_EINVARG;
|
return PM3_EINVARG;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user