diff options
author | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2015-04-24 17:09:23 +0200 |
---|---|---|
committer | Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> | 2015-04-24 17:09:23 +0200 |
commit | 6c512042032ade4a0c5112b106247c303113d1fc (patch) | |
tree | d7d549a630a7215a904b13dbc16c73520b1f0746 | |
parent | 50407e45b6cf3471aa1b01e081599a3f0fc8d0a1 (diff) | |
download | bluedroid-linaro_android_5.1.1.tar.gz |
Initialize p_rsplinaro_android_5.1.1
Initialize p_rsp to make gcc 4.9-2015.04 -Werror=maybe-uninitialized
happy.
Change-Id: I350226b15e9249bc025d3581518eac918634bed7
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
-rwxr-xr-x | stack/gatt/gatt_sr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stack/gatt/gatt_sr.c b/stack/gatt/gatt_sr.c index 2199794..eac00db 100755 --- a/stack/gatt/gatt_sr.c +++ b/stack/gatt/gatt_sr.c @@ -123,7 +123,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; |