diff options
author | Mike J. Chen <mjchen@google.com> | 2014-01-31 18:16:59 -0800 |
---|---|---|
committer | Mike J. Chen <mjchen@google.com> | 2014-02-11 09:48:38 -0800 |
commit | 5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb (patch) | |
tree | e57ed7fa0f556b2f10f081f39354a903511ae5f5 /stack/smp/smp_api.c | |
parent | 60126e439e01a30d6121a55aaf6d3a5d6d400507 (diff) | |
download | android_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/smp/smp_api.c')
-rw-r--r-- | stack/smp/smp_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stack/smp/smp_api.c b/stack/smp/smp_api.c index b80237697..64644da21 100644 --- a/stack/smp/smp_api.c +++ b/stack/smp/smp_api.c @@ -25,6 +25,7 @@ #include <string.h> #include "bt_target.h" +#include "bt_utils.h" #if SMP_INCLUDED == TRUE #include "smp_int.h" #include "smp_api.h" @@ -284,6 +285,7 @@ void SMP_OobDataReply(BD_ADDR bd_addr, tSMP_STATUS res, UINT8 len, UINT8 *p_data tSMP_CB *p_cb = & smp_cb; UINT8 failure = SMP_OOB_FAIL; tSMP_KEY key; + UNUSED(bd_addr); SMP_TRACE_EVENT2 ("SMP_OobDataReply State: %d res:%d", smp_cb.state, res); |