mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 05:07:03 +08:00
FIX: removed width in cmdcrc.c , to get rid of the compiler warning.
This commit is contained in:
parent
96e41bfcec
commit
ffaa0ff334
1 changed files with 0 additions and 3 deletions
|
@ -271,7 +271,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
|
||||||
int ibperhx = 8, obperhx = 8;
|
int ibperhx = 8, obperhx = 8;
|
||||||
int rflags = 0; // search flags
|
int rflags = 0; // search flags
|
||||||
int c;
|
int c;
|
||||||
unsigned long width;
|
|
||||||
poly_t apoly, crc;
|
poly_t apoly, crc;
|
||||||
|
|
||||||
char *string;
|
char *string;
|
||||||
|
@ -290,8 +289,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
|
||||||
if(c < 0)
|
if(c < 0)
|
||||||
return uerr("no preset models available");
|
return uerr("no preset models available");
|
||||||
|
|
||||||
// must set width so that parameter to -ipx is not zeroed
|
|
||||||
width = plen(model.spoly);
|
|
||||||
rflags |= R_HAVEP | R_HAVEI | R_HAVERI | R_HAVERO | R_HAVEX;
|
rflags |= R_HAVEP | R_HAVEI | R_HAVERI | R_HAVERO | R_HAVEX;
|
||||||
|
|
||||||
//set flags
|
//set flags
|
||||||
|
|
Loading…
Reference in a new issue