OSDN Git Service

Fix compiler warnings when BLE_INCLUDED is FALSE
authorMike J. Chen <mjchen@google.com>
Tue, 1 Apr 2014 19:52:09 +0000 (12:52 -0700)
committerMike J. Chen <mjchen@google.com>
Tue, 1 Apr 2014 19:55:41 +0000 (12:55 -0700)
Change-Id: I0d8f861d8a9a94586885c9acd683dd040249a465
Signed-off-by: Mike J. Chen <mjchen@google.com>
stack/btm/btm_acl.c

index 0a4ed1a..49ace6e 100644 (file)
@@ -38,6 +38,7 @@
 #include "l2c_int.h"
 #include "hcidefs.h"
 #include "bd.h"
+#include "bt_utils.h"
 
 static void btm_establish_continue (tACL_CONN *p_acl_cb);
 static void btm_read_remote_features (UINT16 handle);
@@ -228,6 +229,9 @@ BOOLEAN btm_ble_get_acl_remote_addr(tBTM_SEC_DEV_REC *p_dev_rec, BD_ADDR conn_ad
 
     return st;
 #else
+    UNUSED(p_dev_rec);
+    UNUSED(conn_addr);
+    UNUSED(p_addr_type);
     return FALSE;
 #endif
 }