From: iceman1001 Date: Fri, 24 Feb 2017 13:17:36 +0000 (+0100) Subject: CHG: `lf read` - forgot a var X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/01f082a60f8f28db1547a931ecafac7463a415d1 CHG: `lf read` - forgot a var --- diff --git a/client/cmdlf.c b/client/cmdlf.c index ba7d9cc8..7b908e9f 100644 --- a/client/cmdlf.c +++ b/client/cmdlf.c @@ -544,8 +544,9 @@ int CmdLFSetConfig(const char *Cmd) { } int CmdLFRead(const char *Cmd) { - bool arg1 = false; - bool thresholdRead = false; + bool errors = FALSE; + bool arg1 = FALSE; + bool thresholdRead = FALSE; uint8_t cmdp = 0; while(param_getchar(Cmd, cmdp) != 0x00) { switch(param_getchar(Cmd, cmdp)) { @@ -554,12 +555,12 @@ int CmdLFRead(const char *Cmd) { return usage_lf_read(); case 's': case 'S': - arg1 = true; + arg1 = TRUE; cmdp++; break; case 't': case 'T': - thresholdRead = true; + thresholdRead = TRUE; cmdp++; break; default: