summaryrefslogtreecommitdiffstats
path: root/stack/rfcomm/rfc_utils.c
diff options
context:
space:
mode:
authorMike J. Chen <mjchen@google.com>2014-01-31 18:16:59 -0800
committerMike J. Chen <mjchen@google.com>2014-02-11 09:48:38 -0800
commit5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb (patch)
treee57ed7fa0f556b2f10f081f39354a903511ae5f5 /stack/rfcomm/rfc_utils.c
parent60126e439e01a30d6121a55aaf6d3a5d6d400507 (diff)
downloadandroid_system_bt-5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb.tar.gz
android_system_bt-5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb.tar.bz2
android_system_bt-5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb.zip
Major warnings cleanup
Mostly fixing unused parameter warnings. A few other warnings also fixed like possible use of unitialized variables (no real issue found, just compiler couldn't follow the path), signed vs unsigned warning. Also fixed some typos, indent issues, removal of dead code, etc. Change-Id: I95eb887aefc4d559d7921f71a0af5f3bfb01ac01 Signed-off-by: Mike J. Chen <mjchen@google.com>
Diffstat (limited to 'stack/rfcomm/rfc_utils.c')
-rw-r--r--stack/rfcomm/rfc_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stack/rfcomm/rfc_utils.c b/stack/rfcomm/rfc_utils.c
index 2b850fa68..d2b02fc39 100644
--- a/stack/rfcomm/rfc_utils.c
+++ b/stack/rfcomm/rfc_utils.c
@@ -33,6 +33,7 @@
#include "port_int.h"
#include "rfc_int.h"
#include "btu.h"
+#include "bt_utils.h"
#include <string.h>
@@ -352,6 +353,7 @@ void rfcomm_process_timeout (TIMER_LIST_ENT *p_tle)
void rfc_sec_check_complete (BD_ADDR bd_addr, void *p_ref_data, UINT8 res)
{
tPORT *p_port = (tPORT *)p_ref_data;
+ UNUSED(bd_addr);
/* Verify that PORT is still waiting for Security to complete */
if (!p_port->in_use