From: iceman1001 Date: Wed, 3 Aug 2016 07:32:07 +0000 (+0200) Subject: Coverity Scan 133850, need to ask @jason about this one. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/a28d34f407dc172f1e5b0dc257e8fc89e67706f0 Coverity Scan 133850, need to ask @jason about this one. --- diff --git a/client/cmdhflegic.c b/client/cmdhflegic.c index 4ad60e3b..67085f8e 100644 --- a/client/cmdhflegic.c +++ b/client/cmdhflegic.c @@ -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);