diff options
author | Nick Pelly <npelly@google.com> | 2011-06-27 09:01:51 -0700 |
---|---|---|
committer | Nick Pelly <npelly@google.com> | 2011-06-27 09:30:36 -0700 |
commit | 34ff48f6cd6595a899e05fbd56f4c84891840d3f (patch) | |
tree | 2157358fa3ddd5309f102185c8cf278fbb078d2c /src/phLlcNfc_Timer.c | |
parent | d4cb91ee6f74f187cc0e7ba9dc073b0a77c27dfa (diff) | |
download | libnfc-nxp-34ff48f6cd6595a899e05fbd56f4c84891840d3f.tar.gz |
libnfc spring cleaning
o Fix most libnfc warnings, from 360 to 18
o Make DAL_DEBUG much less verbose and more useful
o Clean up Android.mk
Done with minimal textual diff to minimize merge conflicts.
Change-Id: I918645500723ff7bb092ad9959628fcabac45bec
Diffstat (limited to 'src/phLlcNfc_Timer.c')
-rw-r--r-- | src/phLlcNfc_Timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/phLlcNfc_Timer.c b/src/phLlcNfc_Timer.c index 9a596b4..c079760 100644 --- a/src/phLlcNfc_Timer.c +++ b/src/phLlcNfc_Timer.c @@ -606,7 +606,7 @@ phLlcNfc_GuardTimeoutCb ( uint8_t index = 0; uint8_t zero_to_index = 0; #if defined (GUARD_TO_ERROR) - phNfc_sCompletionInfo_t notifyinfo = {0}; + phNfc_sCompletionInfo_t notifyinfo = {0,0,0}; #endif /* #if defined (GUARD_TO_ERROR) */ PHNFC_UNUSED_VARIABLE(pContext); @@ -800,7 +800,7 @@ phLlcNfc_ConnectionTimeoutCb ( ) { NFCSTATUS result = NFCSTATUS_SUCCESS; - phNfc_sCompletionInfo_t notifyinfo = {0}; + phNfc_sCompletionInfo_t notifyinfo = {0,0,0}; pphNfcIF_Notification_CB_t notifyul = NULL; void *p_upperctxt = NULL; phLlcNfc_Frame_t *ps_frame_info = NULL; @@ -927,7 +927,7 @@ phLlcNfc_URSET_Delay_Notify ( void *pContext) { phLlcNfc_Frame_t *ps_frame_info = NULL; - phNfc_sCompletionInfo_t notifyinfo = {0}; + phNfc_sCompletionInfo_t notifyinfo = {0,0,0}; if (NULL != gpphLlcNfc_Ctxt) { |