Skip to content

Commit

Permalink
nfc-mfultralight: remove dead assignment
Browse files Browse the repository at this point in the history
nfc-mfultralight.c:274:7: warning: Value stored to 'bFailure' is never read
      bFailure = false;
      ^          ~~~~~
  • Loading branch information
doegox committed Feb 18, 2017
1 parent 9a749e1 commit c815c7a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/nfc-mfultralight.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit c815c7a

Please sign in to comment.