projects
/
platform
/
upstream
/
bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fdb80e
)
client: Fix uninitialized error
author
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Wed, 13 Feb 2019 15:07:25 +0000
(17:07 +0200)
committer
himanshu
<h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000
(14:27 +0530)
trusted should be initialized with false since the property may not be
available.
Change-Id: Id1529b0821d3b7a466bab8c52c150dac0d2a3714
Signed-off-by: himanshu <h.himanshu@samsung.com>
client/gatt.c
patch
|
blob
|
history
diff --git
a/client/gatt.c
b/client/gatt.c
index
aaca5e0
..
cf13d1c
100755
(executable)
--- a/
client/gatt.c
+++ b/
client/gatt.c
@@
-1915,7
+1915,7
@@
static bool is_device_trusted(const char *path)
{
GDBusProxy *proxy;
DBusMessageIter iter;
- bool trusted;
+ bool trusted
= false
;
proxy = bt_shell_get_env(path);