summaryrefslogtreecommitdiffstats
path: root/stack/avrc
diff options
context:
space:
mode:
authorSharvil Nanavati <sharvil@google.com>2014-04-17 22:32:05 -0700
committerSharvil Nanavati <sharvil@google.com>2014-04-18 05:43:41 +0000
commit6dae552ef8d82b30fa66efab9c6f75644a805bbe (patch)
tree7a99d732be0e04ccfd779208fe76c1c9fdbcdb5c /stack/avrc
parent2d5d56ead7d9dd811cf9c5ef26b16c4a0b149ade (diff)
downloadandroid_system_bt-6dae552ef8d82b30fa66efab9c6f75644a805bbe.tar.gz
android_system_bt-6dae552ef8d82b30fa66efab9c6f75644a805bbe.tar.bz2
android_system_bt-6dae552ef8d82b30fa66efab9c6f75644a805bbe.zip
Eliminate warnings, add -Wall and -Werror to all projects.
This change enables all warnings and treats warnings as errors. As a result, nobody should be able to submit new code to bluedroid that contains compiler warnings. Instead, they should fix the warnings before submitting. This change has already caught a type mismatch bug in stack/avrc/avrc_api.c where an integer was being stored in a boolean. Change-Id: Ic41960754b39a1a6aa37f1c1095003195f466183
Diffstat (limited to 'stack/avrc')
-rw-r--r--stack/avrc/avrc_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack/avrc/avrc_api.c b/stack/avrc/avrc_api.c
index c572f9422..09f167a6f 100644
--- a/stack/avrc/avrc_api.c
+++ b/stack/avrc/avrc_api.c
@@ -528,7 +528,7 @@ static void avrc_msg_cback(UINT8 handle, UINT8 label, UINT8 cr,
tAVRC_MSG msg;
UINT8 *p_data;
UINT8 *p_begin;
- BOOLEAN drop = FALSE;
+ UINT8 drop = 0;
BOOLEAN free = TRUE;
BT_HDR *p_rsp = NULL;
UINT8 *p_rsp_data;