]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlf.c
Better Linux compilation compability
[proxmark3-svn] / client / cmdlf.c
index 245eb2245d102ad0037866395587f31e0487347a..016f0fe288ba5ca051916d5a775fb009594178d2 100644 (file)
@@ -64,7 +64,6 @@ int CmdLFCommandRead(const char *Cmd)
        bool errors = FALSE;
        //uint8_t divisor = 95; //125khz
        uint8_t cmdp = 0;
-       int strLength = 0;
        while(param_getchar(Cmd, cmdp) != 0x00)
        {
                switch(param_getchar(Cmd, cmdp))
@@ -80,7 +79,7 @@ int CmdLFCommandRead(const char *Cmd)
                        cmdp++;
                        break;
                case 'c':
-                       strLength = param_getstr(Cmd, cmdp+1, (char *)&c.d.asBytes);
+                       param_getstr(Cmd, cmdp+1, (char *)&c.d.asBytes);
                        cmdp+=2;
                        break;
                case 'd':
Impressum, Datenschutz