mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-14 03:23:48 +00:00
nfc-mfultralight: remove dead assignment
nfc-mfultralight.c:274:7: warning: Value stored to 'bFailure' is never read
bFailure = false;
^ ~~~~~
This commit is contained in:
@@ -272,7 +272,6 @@ write_card(bool write_otp, bool write_lock, bool write_uid)
|
||||
} else {
|
||||
if (!check_magic()) {
|
||||
printf("\nUnable to unlock card - are you sure the card is magic?\n");
|
||||
bFailure = false;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user