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/rfcomm/rfc_l2cap_if.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/rfcomm/rfc_l2cap_if.c')
-rw-r--r-- | stack/rfcomm/rfc_l2cap_if.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stack/rfcomm/rfc_l2cap_if.c b/stack/rfcomm/rfc_l2cap_if.c index cb50612fc..9137a6638 100644 --- a/stack/rfcomm/rfc_l2cap_if.c +++ b/stack/rfcomm/rfc_l2cap_if.c @@ -31,6 +31,7 @@ #include "l2c_api.h" #include "l2cdefs.h" #include "rfc_int.h" +#include "bt_utils.h" /* @@ -87,6 +88,7 @@ void rfcomm_l2cap_if_init (void) void RFCOMM_ConnectInd (BD_ADDR bd_addr, UINT16 lcid, UINT16 psm, UINT8 id) { tRFC_MCB *p_mcb = rfc_alloc_multiplexer_channel(bd_addr, FALSE); + UNUSED(psm); if ((p_mcb)&&(p_mcb->state != RFC_MX_STATE_IDLE)) { @@ -257,6 +259,7 @@ void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) *******************************************************************************/ void RFCOMM_QoSViolationInd (BD_ADDR bd_addr) { + UNUSED(bd_addr); } |