mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-29 11:52:59 +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 rflags = 0; // search flags
|
||||
int c;
|
||||
unsigned long width;
|
||||
poly_t apoly, crc;
|
||||
|
||||
char *string;
|
||||
|
@ -290,8 +289,6 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
|
|||
if(c < 0)
|
||||
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;
|
||||
|
||||
//set flags
|
||||
|
|
Loading…
Reference in a new issue