]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfindala.c
Fix some printf/scanf format strings
[proxmark3-svn] / client / cmdlfindala.c
index 0a4f783492b8fd8bdf90a0a8743b7ab3780f454f..02c906d0f80fb5c07f7511d3265e9e3cbee064c2 100644 (file)
@@ -8,10 +8,11 @@
 // PSK1, rf/32, 64 or 224 bits (known)
 //-----------------------------------------------------------------------------
 
+#include "cmdlfindala.h"
+
 #include <stdio.h>
 #include <string.h>
-#include "cmdlfindala.h"
-#include "proxmark3.h"
+#include "comms.h"
 #include "ui.h"
 #include "graph.h"
 #include "cmdparser.h"
@@ -286,7 +287,7 @@ int CmdIndalaDemod(const char *Cmd) {
 }
 
 int CmdIndalaClone(const char *Cmd) {
-       UsbCommand c;
+       UsbCommand c = {0};
        unsigned int uid1, uid2, uid3, uid4, uid5, uid6, uid7;
 
        uid1 =  uid2 = uid3 = uid4 = uid5 = uid6 = uid7 = 0;
Impressum, Datenschutz