From 23931c11d54647e29eedb774bb58ec47512bb5cc Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Mon, 20 Jul 2015 23:22:33 +0200 Subject: [PATCH 1/1] Minor fix with previous cache-removal --- client/cmdhw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhw.c b/client/cmdhw.c index 7218f3e9..2b6f9518 100644 --- a/client/cmdhw.c +++ b/client/cmdhw.c @@ -409,7 +409,7 @@ int CmdVersion(const char *Cmd) UsbCommand resp = {0, {0, 0, 0}}; SendCommand(&c); - if (WaitForResponseTimeout(CMD_ACK,&resp,1000) && Cmd != NULL) { + if (WaitForResponseTimeout(CMD_ACK,&resp,1000)) { PrintAndLog("Prox/RFID mark3 RFID instrument"); PrintAndLog((char*)resp.d.asBytes); lookupChipID(resp.arg[0], resp.arg[1]); -- 2.39.5