]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf.c
update travis config (#662)
[proxmark3-svn] / client / cmdhf.c
index 17c3120987e7667a52c21c21194596664f40be18..b973354d728acba1848922ba7fc9f0201f1fa9c7 100644 (file)
@@ -353,6 +353,12 @@ uint16_t printTraceLine(uint16_t tracepos, uint16_t traceLen, uint8_t *trace, ui
 
 int CmdHFList(const char *Cmd)
 {
+       #ifdef WITH_SMARTCARD
+               PrintAndLog("TEST_WITH_SMARTCARD");
+       #endif
+       #ifdef WITH_TEST
+               PrintAndLog("TEST_WITH_TEST");
+       #endif
        bool showWaitCycles = false;
        bool markCRCBytes = false;
        bool loadFromFile = false;
@@ -361,7 +367,7 @@ int CmdHFList(const char *Cmd)
        char param2 = '\0';
        char param3 = '\0';
        char type[40] = {0};
-       char filename[FILE_PATH_SIZE];
+       char filename[FILE_PATH_SIZE] = {0};
        uint8_t protocol = 0;
        
        // parse command line
Impressum, Datenschutz