]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: removed width in cmdcrc.c , to get rid of the compiler warning.
authoriceman1001 <iceman@iuse.se>
Mon, 15 Jun 2015 11:59:33 +0000 (13:59 +0200)
committericeman1001 <iceman@iuse.se>
Mon, 15 Jun 2015 11:59:33 +0000 (13:59 +0200)
client/cmdcrc.c

index 99a4ac889be572eaa0f81239a3ebd7daa0ee20f7..666b4a8e67d42c2de61377ea978be72b4d8076b3 100644 (file)
@@ -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
Impressum, Datenschutz