]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: removed a compiler warning, the stringlen is not used anymore.
authoriceman1001 <iceman@iuse.se>
Sun, 31 Jul 2016 20:03:46 +0000 (22:03 +0200)
committericeman1001 <iceman@iuse.se>
Sun, 31 Jul 2016 20:03:46 +0000 (22:03 +0200)
client/cmdlf.c

index 2c33dba9b144ba0e2eba6a16057f60211484a99a..399adb72feaaab626f54a630a63e9a1884c74004 100644 (file)
@@ -128,7 +128,6 @@ int CmdLFCommandRead(const char *Cmd) {
        bool useHighFreq = FALSE;
        uint16_t one = 0, zero = 0;
        uint8_t cmdp = 0;
-       int strLength = 0;
        UsbCommand c = {CMD_MOD_THEN_ACQUIRE_RAW_ADC_SAMPLES_125K, {0,0,0}};
        
        while(param_getchar(Cmd, cmdp) != 0x00) {
@@ -143,7 +142,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