From bd8a9fe96eee54a42f0df682520379e1ae755d9c Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Sat, 2 Mar 2013 13:22:32 +0100 Subject: [PATCH] Remove dead code The local variable bFailure is set before a return. nfc-mfclassic.c:319:11: warning: Value stored to 'bFailure' is never read bFailure = true; ^ ~~~~ --- utils/nfc-mfclassic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c index 4547df9..91b9a9e 100644 --- a/utils/nfc-mfclassic.c +++ b/utils/nfc-mfclassic.c @@ -316,7 +316,6 @@ read_card(int read_unlocked) if (nfc_initiator_mifare_cmd(pnd, MC_READ, iBlock, &mp)) { memcpy(mtDump.amb[iBlock].mbd.abtData, mp.mpd.abtData, 16); } else { - bFailure = true; printf("!\nError: unable to read block 0x%02x\n", iBlock); return false; }