From 9f52c9db288de1b5bbff0e4f6da644ad74bddd9b Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 31 Jul 2016 22:03:46 +0200 Subject: [PATCH 1/1] FIX: removed a compiler warning, the stringlen is not used anymore. --- client/cmdlf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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': -- 2.39.5