Parent: b4b016e90485db5687c2fd9aeefbc105a020bbce
Author: Arman Uguray <armansito@chromium.org>
Committer: Arman Uguray <armansito@chromium.org>
Date: 2015-04-11 00:29:13
Tree: f5515de073b335f0c35b84367cf0c443165b3223
shared/gatt: Fix potential uninitialized usage Fixed the following warning when compiled with clang: error: variable 'success' is used uninitialized whenever 'if' condition is false if (last_handle != op->end_handle) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/shared/gatt-helpers.c:1263:28: note: uninitialized use occurs here discovery_op_complete(op, success, att_ecode); ^~~~~~~
Diffstat
| M | src/shared/gatt-helpers.c | | | 2 | ++ |
1 files changed, 2 insertions(+), 0 deletions(-)