diff --git a/client/src/cipurse/cipursecore.c b/client/src/cipurse/cipursecore.c index 143c2b1f9..ff75cc20e 100644 --- a/client/src/cipurse/cipursecore.c +++ b/client/src/cipurse/cipursecore.c @@ -626,7 +626,7 @@ void CIPURSEPrintFileAttrEx(uint8_t *attr, size_t len, bool isDGI) { } void CIPURSEPrintFileAttr(uint8_t *attr, size_t len) { - return CIPURSEPrintFileAttrEx(attr, len, false); + CIPURSEPrintFileAttrEx(attr, len, false); } void CIPURSEPrintFileUpdateAttr(uint8_t *attr, size_t len) { diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index 83e9916be..852d50712 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -4009,7 +4009,7 @@ static int CmdHF14AMfKeyBrute(const char *Cmd) { */ void printKeyTable(size_t sectorscnt, sector_t *e_sector) { - return printKeyTableEx(sectorscnt, e_sector, 0); + printKeyTableEx(sectorscnt, e_sector, 0); } void printKeyTableEx(size_t sectorscnt, sector_t *e_sector, uint8_t start_sector) { diff --git a/client/src/cmdhfmfdes.c b/client/src/cmdhfmfdes.c index 33240ea62..d25e0dbf1 100644 --- a/client/src/cmdhfmfdes.c +++ b/client/src/cmdhfmfdes.c @@ -807,9 +807,9 @@ static int CmdHF14ADesInfo(const char *Cmd) { iso14a_card_select_t card; res = SelectCard14443A_4(true, false, &card); if (res == PM3_SUCCESS) { - static const char STANDALONE_DESFIRE[] = { 0x75, 0x77, 0x81, 0x02 }; - static const char JCOP_DESFIRE[] = { 0x75, 0xf7, 0xb1, 0x02 }; - static const char JCOP3_DESFIRE[] = { 0x78, 0x77, 0x71, 0x02 }; + static const uint8_t STANDALONE_DESFIRE[] = { 0x75, 0x77, 0x81, 0x02 }; + static const uint8_t JCOP_DESFIRE[] = { 0x75, 0xf7, 0xb1, 0x02 }; + static const uint8_t JCOP3_DESFIRE[] = { 0x78, 0x77, 0x71, 0x02 }; if (card.sak == 0x20) { diff --git a/client/src/cmdhfntag424.c b/client/src/cmdhfntag424.c index c2d14b744..97a271c84 100644 --- a/client/src/cmdhfntag424.c +++ b/client/src/cmdhfntag424.c @@ -166,13 +166,13 @@ static void ntag424_print_production_information(ntag424_production_information_ } static void ntag424_print_full_version_information(ntag424_full_version_information_t *version) { - PrintAndLogEx(INFO, "--- " _CYAN_("Hardware version information:"), fileno); + PrintAndLogEx(INFO, "--- " _CYAN_("Hardware version information:")); ntag424_print_version_information(&version->hardware); - PrintAndLogEx(INFO, "--- " _CYAN_("Software version information:"), fileno); + PrintAndLogEx(INFO, "--- " _CYAN_("Software version information:")); ntag424_print_version_information(&version->software); - PrintAndLogEx(INFO, "--- " _CYAN_("Production information:"), fileno); + PrintAndLogEx(INFO, "--- " _CYAN_("Production information:")); ntag424_print_production_information(&version->production); } @@ -927,7 +927,7 @@ static int CmdHF_ntag424_info(const char *Cmd) { DropField(); if (res == PM3_SUCCESS) { - PrintAndLogEx(INFO, "--- " _CYAN_("NXP originality signature:"), fileno); + PrintAndLogEx(INFO, "--- " _CYAN_("NXP originality signature:")); desfire_print_signature(version.production.uid, 7, signature, NXP_SIGNATURE_LENGTH); }