From fb8a3542491f67220e8be74add526aabac9733ad Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 9 Nov 2026 18:11:23 +0700 Subject: [PATCH] hf seos: drop duplicated nested plaintext_adf check Found by cppcheck 2.22 (identicalInnerCondition). No behaviour change. Co-Authored-By: Claude Opus 5.5 --- client/src/cmdhfseos.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/src/cmdhfseos.c b/client/src/cmdhfseos.c index ee3109b21..8ef24c699 100644 --- a/client/src/cmdhfseos.c +++ b/client/src/cmdhfseos.c @@ -990,9 +990,7 @@ static int select_df_decode(uint8_t *response, uint8_t response_length, int *ALG } if (plaintext_adf == false) { - if (plaintext_adf == false) { - PrintAndLogEx(SUCCESS, "CRYPTOGRAM Encrypted Data........ " _YELLOW_("%s"), sprint_hex_inrow(CRYPTOGRAM_encrypted_data, *cryptogram_len)); - } + PrintAndLogEx(SUCCESS, "CRYPTOGRAM Encrypted Data........ " _YELLOW_("%s"), sprint_hex_inrow(CRYPTOGRAM_encrypted_data, *cryptogram_len)); } // PrintAndLogEx(SUCCESS, "MAC.............................. " _YELLOW_("%s"), sprint_hex_inrow(MAC_value, 8));