summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-09-19 17:20:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-09-19 17:20:52 +0000
commit8b52f5f2f0eb1e3748a19af4438147872cba1cd2 (patch)
tree16567f527e768c25a9820c136b36f9b08cabf2c8
parent94c31e5518de3cfb610aae74835d5cc0a6d092d2 (diff)
parent7175f55a214000f6258fdc8b09f3b02a60c894ed (diff)
downloadbluedroid-l-preview.tar.gz
Merge "Suppress the warning compiled with gcc-4.9"android-l-preview_r2l-preview
-rw-r--r--stack/gatt/gatt_sr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack/gatt/gatt_sr.c b/stack/gatt/gatt_sr.c
index 6817283..9715686 100644
--- a/stack/gatt/gatt_sr.c
+++ b/stack/gatt/gatt_sr.c
@@ -122,7 +122,7 @@ void gatt_dequeue_sr_cmd (tGATT_TCB *p_tcb)
static BOOLEAN process_read_multi_rsp (tGATT_SR_CMD *p_cmd, tGATT_STATUS status,
tGATTS_RSP *p_msg, UINT16 mtu)
{
- tGATTS_RSP *p_rsp;
+ tGATTS_RSP *p_rsp = NULL;
UINT16 ii, total_len, len;
BT_HDR *p_buf = (BT_HDR *)GKI_getbuf((UINT16)sizeof(tGATTS_RSP));
UINT8 *p;