mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
fix cppchecker redundantcondition
This commit is contained in:
parent
9d23550424
commit
deb08c0e66
1 changed files with 2 additions and 2 deletions
|
@ -1334,7 +1334,7 @@ static int CmdHF14BDump(const char *Cmd) {
|
||||||
PacketResponseNG resp;
|
PacketResponseNG resp;
|
||||||
|
|
||||||
// select
|
// select
|
||||||
int status = 0;
|
int status;
|
||||||
if (WaitForResponseTimeout(CMD_HF_ISO14443B_COMMAND, &resp, 2000)) {
|
if (WaitForResponseTimeout(CMD_HF_ISO14443B_COMMAND, &resp, 2000)) {
|
||||||
status = resp.oldarg[0];
|
status = resp.oldarg[0];
|
||||||
if (status < 0) {
|
if (status < 0) {
|
||||||
|
@ -1739,7 +1739,7 @@ int exchange_14b_apdu(uint8_t *datain, int datainlen, bool activate_field,
|
||||||
// TODO check this one...
|
// TODO check this one...
|
||||||
// check R-block ACK
|
// check R-block ACK
|
||||||
// *dataoutlen!=0. 'A && (!A || B)' is equivalent to 'A && B'
|
// *dataoutlen!=0. 'A && (!A || B)' is equivalent to 'A && B'
|
||||||
if ((*dataoutlen == 0) && (*dataoutlen != 0 || chaining != chainBlockNotLast)) {
|
if ((*dataoutlen == 0) && (chaining != chainBlockNotLast)) {
|
||||||
if (leave_signal_on == false) {
|
if (leave_signal_on == false) {
|
||||||
switch_off_field_14b();
|
switch_off_field_14b();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue