]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdcrc.c
hf mf sim: Multiple fixes from review of PR #209.
[proxmark3-svn] / client / cmdcrc.c
index 6cfc7ac1e47ea0d9ad08dbe8a8f502bb17e4f60c..0536529890c1dc221a80057d073b79f4702807a6 100644 (file)
@@ -311,7 +311,7 @@ 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;
+       //unsigned long width;
        poly_t apoly, crc;
 
        char *string;
@@ -331,7 +331,7 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
                return uerr("no preset models available");
 
        // must set width so that parameter to -ipx is not zeroed 
-       width = plen(model.spoly);
+       //width = plen(model.spoly);
        rflags |= R_HAVEP | R_HAVEI | R_HAVERI | R_HAVERO | R_HAVEX;
        
        //set flags
Impressum, Datenschutz