]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdmain.c
Fixed several issues found using a coverity-scan
[proxmark3-svn] / client / cmdmain.c
index fa358fac8b2211b0ae27eb1e32a746830303807b..77f1c373ece5bb884b0f9b3ea78c8af1dcbe2440 100644 (file)
@@ -134,8 +134,9 @@ int getCommand(UsbCommand* response)
  */
 bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeout) {
   
+  UsbCommand resp;
+
   if (response == NULL) {
-    UsbCommand resp;
     response = &resp;
   }
 
Impressum, Datenschutz