mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-24 07:05:40 -07:00
cppcheck fix returnNonBoolInBooleanFunction
This commit is contained in:
parent
3936afcca9
commit
857f0c0d9b
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ static bool mf_write_block(const uint8_t *key, uint8_t keytype, uint8_t blockno,
|
|||
PacketResponseNG resp;
|
||||
if (WaitForResponseTimeout(CMD_ACK, &resp, 1500) == false) {
|
||||
PrintAndLogEx(FAILED, "Command execute timeout");
|
||||
return PM3_ETIMEOUT;
|
||||
return false;
|
||||
}
|
||||
|
||||
return (resp.oldarg[0] & 0xff);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue