projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix uninitialized varible warnings
[connman]
/
src
/
detect.c
diff --git
a/src/detect.c
b/src/detect.c
index
8d64aeb
..
e5f0db1
100644
(file)
--- a/
src/detect.c
+++ b/
src/detect.c
@@
-130,7
+130,7
@@
static void detect_newlink(unsigned short type, int index,
unsigned flags, unsigned change)
{
enum connman_device_type devtype = CONNMAN_DEVICE_TYPE_UNKNOWN;
- enum connman_device_mode mode;
+ enum connman_device_mode mode = CONNMAN_DEVICE_MODE_UNKNOWN;
struct connman_device *device;
gchar *name, *devname;