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>
diff --git a/bta/pan/bta_pan_main.c b/bta/pan/bta_pan_main.c
index add1c7c..5ed545f 100644
--- a/bta/pan/bta_pan_main.c
+++ b/bta/pan/bta_pan_main.c
@@ -34,6 +34,7 @@
#include "bta_pan_api.h"
#include "bta_pan_int.h"
#include "bd.h"
+#include "utl.h"
/*****************************************************************************
** Constants and types
@@ -265,6 +266,8 @@
*******************************************************************************/
static void bta_pan_api_disable(tBTA_PAN_DATA *p_data)
{
+ UNUSED(p_data);
+
bta_pan_disable();
}