From e90b160011b262c4d1d5e11b0099f60929077f3f Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Mon, 20 Feb 2012 13:06:19 +0100 Subject: [PATCH] Fixed runtime error caused by using uninitialized variable detected with msvc build. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46335 Reviewed-by: Simon McVittie --- dbus/dbus-mainloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-mainloop.c b/dbus/dbus-mainloop.c index 579614de8..8a30f7fe0 100644 --- a/dbus/dbus-mainloop.c +++ b/dbus/dbus-mainloop.c @@ -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); -- 2.47.3