Skip to content

Commit

Permalink
remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed May 21, 2020
1 parent 730f705 commit 5a059db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions libnfc/chips/pn53x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2655,7 +2655,8 @@ pn53x_target_receive_bytes(struct nfc_device *pnd, uint8_t *pbtRx, const size_t
return pnd->last_error;
}
}
// NO BREAK
abtCmd[0] = TgGetInitiatorCommand;
break;
case NMT_JEWEL:
case NMT_BARCODE:
case NMT_ISO14443B:
Expand Down Expand Up @@ -2762,7 +2763,8 @@ pn53x_target_send_bytes(struct nfc_device *pnd, const uint8_t *pbtTx, const size
return pnd->last_error;
}
}
// NO BREAK
abtCmd[0] = TgResponseToInitiator;
break;
case NMT_JEWEL:
case NMT_BARCODE:
case NMT_ISO14443B:
Expand Down
1 change: 0 additions & 1 deletion utils/nfc-mfclassic.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ static bool bFormatCard;
static bool magic2 = false;
static bool magic3 = false;
static bool unlocked = false;
static bool bForceSizeMismatch;
static uint8_t uiBlocks;
static uint8_t keys[] = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
Expand Down

0 comments on commit 5a059db

Please sign in to comment.