Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b695a03e authored by Lai Wei-Chih's avatar Lai Wei-Chih
Browse files

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
parent 64f19a54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment