From 2495281d1403f4c69b511a325e69da7bb99c27fd Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 14 Jun 2015 23:31:05 +0200 Subject: [PATCH] fix; stupid fixes for some compiler warnings messages of unused variables.. --- client/cmdcrc.c | 2 +- client/cmdhftopaz.c | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/client/cmdcrc.c b/client/cmdcrc.c index 7fc8bd6e..99a4ac88 100644 --- a/client/cmdcrc.c +++ b/client/cmdcrc.c @@ -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; diff --git a/client/cmdhftopaz.c b/client/cmdhftopaz.c index 4b575b27..4e9d5380 100644 --- a/client/cmdhftopaz.c +++ b/client/cmdhftopaz.c @@ -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]); -- 2.39.5