mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
FIX: coverity scan 133850, again. Why on earth did the 7 come from. I removed it.
This commit is contained in:
parent
c5d886170c
commit
26778ea772
1 changed files with 15 additions and 16 deletions
|
@ -300,7 +300,7 @@ int CmdLegicDecode(const char *Cmd) {
|
||||||
i = 8;
|
i = 8;
|
||||||
|
|
||||||
wrp = data_buf[7] & 0x0F;
|
wrp = data_buf[7] & 0x0F;
|
||||||
wrc = (data_buf[7] & 0x707) >> 4;
|
wrc = (data_buf[7] & 0x70) >> 4;
|
||||||
|
|
||||||
bool hasWRC = (wrc > 0);
|
bool hasWRC = (wrc > 0);
|
||||||
bool hasWRP = (wrp > wrc);
|
bool hasWRP = (wrp > wrc);
|
||||||
|
@ -342,7 +342,6 @@ int CmdLegicDecode(const char *Cmd) {
|
||||||
PrintAndLog("-----+------------------------------------------------\n");
|
PrintAndLog("-----+------------------------------------------------\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue