diff options
author | Nick Pelly <npelly@google.com> | 2012-03-07 15:40:04 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-03-07 15:40:04 -0800 |
commit | bbda017196474931e686669f0b6bc749f6dc1b0a (patch) | |
tree | d85d5e3e39a610bedf99b634c70671173e6b2515 | |
parent | 700428d8f73604f27f4416fd14d3ef1cb86fca9e (diff) | |
parent | 65ce34545ca9a1b77b54acd373618821d8123ef8 (diff) | |
download | external_libnfc-nxp-bbda017196474931e686669f0b6bc749f6dc1b0a.zip external_libnfc-nxp-bbda017196474931e686669f0b6bc749f6dc1b0a.tar.gz external_libnfc-nxp-bbda017196474931e686669f0b6bc749f6dc1b0a.tar.bz2 |
am 65ce3454: Merge "Fix one coding error of using a temporary variable in the global structure NdefMap"
* commit '65ce34545ca9a1b77b54acd373618821d8123ef8':
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 ) { |