diff options
author | Nick Pelly <npelly@google.com> | 2012-03-07 13:04:14 -0800 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-03-07 13:04:16 -0800 |
commit | 65ce34545ca9a1b77b54acd373618821d8123ef8 (patch) | |
tree | d85d5e3e39a610bedf99b634c70671173e6b2515 | |
parent | 593d6d4a79601c530825ce9a52fd3f4cf03e1b6f (diff) | |
parent | d5dae5f9ae4f79985a032d011b6b3d12749823cd (diff) | |
download | external_libnfc-nxp-65ce34545ca9a1b77b54acd373618821d8123ef8.zip external_libnfc-nxp-65ce34545ca9a1b77b54acd373618821d8123ef8.tar.gz external_libnfc-nxp-65ce34545ca9a1b77b54acd373618821d8123ef8.tar.bz2 |
Merge "Fix one coding error of using a temporary variable in the global structure NdefMap"
-rw-r--r-- | src/phFriNfc_NdefMap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phFriNfc_NdefMap.c b/src/phFriNfc_NdefMap.c index b25e9ec..bd82e7a 100644 --- a/src/phFriNfc_NdefMap.c +++ b/src/phFriNfc_NdefMap.c @@ -1171,7 +1171,7 @@ NFCSTATUS phFriNfc_NdefMap_EraseNdef(phFriNfc_NdefMap_t *NdefMap) static uint8_t PktData[3] = PH_FRINFC_NDEFMAP_EMPTY_NDEF_MSG; uint8_t MemOffset = PH_FRINFC_NDEFMAP_SEEK_BEGIN; - uint32_t PacketDataLength = sizeof(PktData); + static uint32_t PacketDataLength = sizeof(PktData); if (NdefMap == NULL ) { |