Initialize error before using.
authorMike Gorse <mgorse@boston.site>
Tue, 21 Apr 2009 14:07:18 +0000 (09:07 -0500)
committerMike Gorse <mgorse@boston.site>
Tue, 21 Apr 2009 14:07:18 +0000 (09:07 -0500)
dbind/dbtest.c

index 8203c27..d00486a 100644 (file)
@@ -391,6 +391,8 @@ int main (int argc, char **argv)
     DBusConnection *bus;
     DBusError err;
 
+    dbus_error_init (&err);
+
     bus = dbus_bus_get (DBUS_BUS_SESSION, &err);
 
     test_helpers ();