summaryrefslogtreecommitdiff
path: root/dbind/dbtest.c
diff options
context:
space:
mode:
authorMike Gorse <mgorse@boston.site>2009-04-21 09:07:18 -0500
committerMark Doffman <mdoff@silver-wind.(none)>2009-04-21 17:16:03 +0100
commit5d030c9b06b2d63e61616058d4bcab3b00421621 (patch)
treee42500b8804be9fed9a9852560c47baa8e55ef3c /dbind/dbtest.c
parent10b4f41f0b649dd33c16aeb0305856e526acb179 (diff)
downloadat-spi2-core-5d030c9b06b2d63e61616058d4bcab3b00421621.tar.gz
Initialize error before using.
Diffstat (limited to 'dbind/dbtest.c')
-rw-r--r--dbind/dbtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbind/dbtest.c b/dbind/dbtest.c
index 8203c275..d00486a4 100644
--- a/dbind/dbtest.c
+++ b/dbind/dbtest.c
@@ -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 ();