commit | 7175f55a214000f6258fdc8b09f3b02a60c894ed | [log] [tgz] |
---|---|---|
author | Lai Wei-Chih <Robert.Lai@mediatek.com> | Fri Sep 19 15:39:49 2014 +0800 |
committer | Lai Wei-Chih <Robert.Lai@mediatek.com> | Fri Sep 19 07:55:24 2014 +0000 |
tree | fe594d0368984c6c2477f0a897ecd0108fd8c612 | |
parent | e3b1d0da533fbb01da67f7ccfa976a9e3d54ed94 [diff] |
Suppress the warning compiled with gcc-4.9 Fix the warning below: gatt_sr.c: In function 'gatt_sr_process_app_rsp': gatt_sr.c:175:27: warning: 'p_rsp' may be used uninitialized in this function [-Wmaybe-uninitialized] p_rsp = (tGATTS_RSP *)GKI_getnext (p_rsp); ^ gatt_sr.c:125:23: note: 'p_rsp' was declared here tGATTS_RSP *p_rsp; ^ Change-Id: I894495ed7893e958f009778e629525b85d56b2f6