remove warnings

This commit is contained in:
Philippe Teuwen 2020-05-21 14:50:30 +02:00
parent 730f705c0d
commit 5a059db901
2 changed files with 4 additions and 3 deletions

View file

@ -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:
@ -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:

View file

@ -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,