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 /hci/src/btsnoop.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 'hci/src/btsnoop.c')
-rwxr-xr-x | hci/src/btsnoop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hci/src/btsnoop.c b/hci/src/btsnoop.c index 5b0f26d39..c6556d67c 100755 --- a/hci/src/btsnoop.c +++ b/hci/src/btsnoop.c @@ -55,6 +55,7 @@ #include "bt_hci_bdroid.h" #include "utils.h" +#include "bt_utils.h" #ifndef BTSNOOP_DBG #define BTSNOOP_DBG FALSE @@ -478,6 +479,7 @@ static void ext_parser_detached(void) static void interruptFn (int sig) { + UNUSED(sig); ALOGD("interruptFn"); pthread_exit(0); } @@ -489,6 +491,7 @@ static void ext_parser_thread(void* param) sigset_t sigSet; sigemptyset (&sigSet); sigaddset (&sigSet, sig); + UNUSED(param); ALOGD("ext_parser_thread"); |