mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
cppcheck: fix warning on mixing boolean and bitwise operations
This commit is contained in:
+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