chg: remove warning unused variable

This commit is contained in:
Chris 2018-09-09 23:16:47 +02:00
commit 0a648d482d
5 changed files with 6 additions and 7 deletions

View file

@ -1576,7 +1576,7 @@ int CmdLoad(const char *Cmd) {
// set signal properties low/high/mean/amplitude and isnoice detection // set signal properties low/high/mean/amplitude and isnoice detection
uint8_t bits[GraphTraceLen]; uint8_t bits[GraphTraceLen];
size_t size = getFromGraphBuf(bits); size_t size = getFromGraphBuf(bits);
isNoise(bits, sizeof(bits)); isNoise(bits, size);
return 0; return 0;
} }

View file

@ -799,7 +799,6 @@ int EM4x50Read(const char *Cmd, bool verbose) {
uint8_t bits[MAX_GRAPH_TRACE_LEN] = {0}; uint8_t bits[MAX_GRAPH_TRACE_LEN] = {0};
size_t size = getFromGraphBuf(bits); size_t size = getFromGraphBuf(bits);
isNoise(bits, size); isNoise(bits, size);
signal_t *sp = getSignalProperties(); signal_t *sp = getSignalProperties();