]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Fixed runtime error caused by using uninitialized variable detected with msvc build.
authorRalf Habacker <ralf.habacker@freenet.de>
Mon, 20 Feb 2012 12:06:19 +0000 (13:06 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 20 Feb 2012 12:47:55 +0000 (12:47 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46335
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-mainloop.c

index 579614de85c959802d0f1cb298929cd9f86ecf8c..8a30f7fe0159100020718073194883292e35b025 100644 (file)
@@ -258,7 +258,7 @@ refresh_watches_for_fd (DBusLoop  *loop,
 {
   DBusList *link;
   unsigned int flags = 0;
-  dbus_bool_t interested;
+  dbus_bool_t interested = FALSE;
 
   _dbus_assert (fd != -1);