]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fix; stupid fixes for some compiler warnings messages of unused variables..
authoriceman1001 <iceman@iuse.se>
Sun, 14 Jun 2015 21:31:05 +0000 (23:31 +0200)
committericeman1001 <iceman@iuse.se>
Sun, 14 Jun 2015 21:31:05 +0000 (23:31 +0200)
client/cmdcrc.c
client/cmdhftopaz.c

index 7fc8bd6ea8bd68a87055710f8c3bad12c46e291f..99a4ac889be572eaa0f81239a3ebd7daa0ee20f7 100644 (file)
@@ -271,7 +271,7 @@ int RunModel(char *inModel, char *inHexStr, bool reverse, char endian, char *res
        int ibperhx = 8, obperhx = 8;
        int rflags = 0; // search flags 
        int c;
-       unsigned long width = 0UL;
+       unsigned long width;
        poly_t apoly, crc;
 
        char *string;
index 4b575b2729928ce1053caa92b30c872966edf047..4e9d538064e50e85178805051a7ad95095d58455 100644 (file)
@@ -349,10 +349,16 @@ int CmdHFTopazReader(const char *Cmd)
 
        PrintAndLog("");
        bool lock_TLV_present = topaz_print_lock_control_TLVs(&topaz_tag.data_blocks[1][4]);
-
+       if ( lock_TLV_present ) {
+               PrintAndLog("");        
+       }
+       
        PrintAndLog("");
        bool reserved_mem_present = topaz_print_reserved_memory_control_TLVs(&topaz_tag.data_blocks[1][4]);
-
+       if (reserved_mem_present) {
+               PrintAndLog("");        
+       }
+       
        topaz_print_lifecycle_state(&topaz_tag.data_blocks[1][0]);
 
        topaz_print_NDEF(&topaz_tag.data_blocks[1][0]);
Impressum, Datenschutz