cppcheck: fix warning on mixing boolean and bitwise operations
This commit is contained in:
1 parent
cb1f66f9f4
commit
aeb28b36f2
1 file changed
+1
-1
+1
-1
@@ -1961,7 +1961,7 @@ void SimulateIso14443aTagEx(uint8_t tagType, uint16_t flags, uint8_t *useruid, u
|
||||
|
||||
bool risky = false;
|
||||
for (int i = 0; i < 4; i++) {
|
||||
risky |= (orig[i] & ~receivedCmd[2 + i]);
|
||||
risky |= (orig[i] & ~receivedCmd[2 + i]) != 0;
|
||||
}
|
||||
|
||||
if (risky) {
|
||||
|
||||
Reference in new issue
Block a user