Coverity Scan 133850, need to ask @jason about this one.

This commit is contained in:
iceman1001 2016-08-03 09:32:07 +02:00
commit a28d34f407

View file

@ -297,7 +297,7 @@ int CmdLegicDecode(const char *Cmd) {
i = 8;
wrp = data_buf[7] & 0x0F;
wrc = (data_buf[7] & 0x07) >> 4;
wrc = (data_buf[7] & 0x07) >> 4; // ICEMAN 20160802, this will always be ZERO
bool hasWRC = (wrc > 0);
bool hasWRP = (wrp > wrc);