From 971c0126de3dcac76cc90d01fbcd52c186d58f4c Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 3 Sep 2021 23:54:39 +0200 Subject: [PATCH] cppcheck clarify mix of boolean and bitwise ops --- client/src/cmdlfindala.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdlfindala.c b/client/src/cmdlfindala.c index 8abfc8585..e18f34301 100644 --- a/client/src/cmdlfindala.c +++ b/client/src/cmdlfindala.c @@ -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; }