X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1417a7f9d00ce5f36c6656a844c7636a3519cfa1..e7902ca0a5984f873e45fb4af3c2e40b173efb73:/client/cmdcrc.c diff --git a/client/cmdcrc.c b/client/cmdcrc.c index 7fc8bd6e..666b4a8e 100644 --- a/client/cmdcrc.c +++ b/client/cmdcrc.c @@ -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 = 0UL; 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