From eadc9808356b024b88244804c7bbefd0064a145c Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 8 Apr 2019 09:26:39 +0200 Subject: [PATCH] unshadow --- client/cmdlfti.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/client/cmdlfti.c b/client/cmdlfti.c index dcf63125c..db87a2d14 100644 --- a/client/cmdlfti.c +++ b/client/cmdlfti.c @@ -138,7 +138,6 @@ int CmdTIDemod(const char *Cmd) { // look for 17 low bits followed by 6 highs (common pattern for ro and rw tags) int max = 0, maxPos = 0; for (i = 0; i < 6000; i++) { - int j; int dec = 0; // searching 17 consecutive lows for (j = 0; j < 17 * lowLen; j++) { @@ -177,9 +176,7 @@ int CmdTIDemod(const char *Cmd) { uint32_t shift3 = 0x7e000000, shift2 = 0, shift1 = 0, shift0 = 0; for (i = 0; i < ARRAYLEN(bits) - 1; i++) { - int high = 0; - int low = 0; - int j; + int high = 0, low = 0; for (j = 0; j < lowLen; j++) { low -= GraphBuffer[maxPos + j]; }