Code inspection fixes

Avoid variable uninitialized and correct variable type.

Change-Id: I1fc6892e43232fb0bc95761d9643897c7a703cd9
diff --git a/src/nfa/dm/nfa_dm_main.c b/src/nfa/dm/nfa_dm_main.c
index b4d687b..5f026cb 100644
--- a/src/nfa/dm/nfa_dm_main.c
+++ b/src/nfa/dm/nfa_dm_main.c
@@ -225,7 +225,7 @@
 *******************************************************************************/
 tNFA_STATUS nfa_dm_check_set_config (UINT8 tlv_list_len, UINT8 *p_tlv_list, BOOLEAN app_init)
 {
-    UINT8 type, len, *p_value, *p_stored, max_len;
+    UINT8 type, len, *p_value, *p_stored = NULL, max_len = 0;
     UINT8 xx = 0, updated_len = 0, *p_cur_len;
     BOOLEAN update;
     tNFC_STATUS nfc_status;
diff --git a/src/nfc/include/nfc_api.h b/src/nfc/include/nfc_api.h
index 4070c5c..f2cd8e2 100644
--- a/src/nfc/include/nfc_api.h
+++ b/src/nfc/include/nfc_api.h
@@ -596,7 +596,7 @@
     UINT8                   rf_disc_id;     /* RF Discovery ID                  */
     UINT8                   protocol;       /* supported protocol               */
     tNFC_RF_TECH_PARAMS     rf_tech_param;  /* RF technology parameters         */
-    BOOLEAN                 more;           /* 0: last notification             */
+    UINT8                   more;           /* 0: last notification             */
 } tNFC_RESULT_DEVT;
 
 /* the data type associated with NFC_SELECT_DEVT */