X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1417a7f9d00ce5f36c6656a844c7636a3519cfa1..0db11b71efad3781186cc2da9f31686a6562d065:/client/cmdcrc.c?ds=sidebyside 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