From: iceman1001 Date: Sun, 31 Jul 2016 20:03:46 +0000 (+0200) Subject: FIX: removed a compiler warning, the stringlen is not used anymore. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/9f52c9db288de1b5bbff0e4f6da644ad74bddd9b FIX: removed a compiler warning, the stringlen is not used anymore. --- diff --git a/client/cmdlf.c b/client/cmdlf.c index 2c33dba9..399adb72 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -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':