FIX: coverity scan 133850, again. Why on earth did the 7 come from. I removed it.

This commit is contained in:
iceman1001 2016-08-03 12:09:16 +02:00
commit 26778ea772

View file

@ -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;
} }