From: Martin Holst Swende Date: Mon, 20 Jul 2015 21:22:33 +0000 (+0200) Subject: Minor fix with previous cache-removal X-Git-Tag: v2.3.0~36^2 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/23931c11d54647e29eedb774bb58ec47512bb5cc?ds=sidebyside;hp=-c Minor fix with previous cache-removal --- 23931c11d54647e29eedb774bb58ec47512bb5cc 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]);