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