Fix uninitialized variable szTargetsData
This commit is contained in:
parent
8f08431ddf
commit
167238c60d
1 changed files with 1 additions and 1 deletions
|
@ -1010,7 +1010,7 @@ pn53x_initiator_select_passive_target_ext (struct nfc_device *pnd,
|
|||
int timeout)
|
||||
{
|
||||
uint8_t abtTargetsData[PN53x_EXTENDED_FRAME__DATA_MAX_LEN];
|
||||
size_t szTargetsData;
|
||||
size_t szTargetsData = sizeof (abtTargetsData);
|
||||
int res = 0;
|
||||
|
||||
if (nm.nmt == NMT_ISO14443BI || nm.nmt == NMT_ISO14443B2SR || nm.nmt == NMT_ISO14443B2CT) {
|
||||
|
|
Loading…
Add table
Reference in a new issue