summaryrefslogtreecommitdiff
path: root/src/detect.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-01 20:01:19 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-01 20:01:19 +0100
commitee0c975fd361a75584040cc245ee5b4dbe6da381 (patch)
tree2f47a0750ce2493a003b71cc1d5a68c68e00410b /src/detect.c
parentf89b202b68eaf920e969e155aee2f40f5b063c45 (diff)
downloadconnman-ee0c975fd361a75584040cc245ee5b4dbe6da381.tar.gz
connman-ee0c975fd361a75584040cc245ee5b4dbe6da381.tar.bz2
connman-ee0c975fd361a75584040cc245ee5b4dbe6da381.zip
Fix uninitialized varible warnings
Diffstat (limited to 'src/detect.c')
-rw-r--r--src/detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detect.c b/src/detect.c
index 8d64aeba..e5f0db17 100644
--- 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;