From 8285048e20cf70e64e350a125f8aff1842570965 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 29 Apr 2016 09:47:51 +0200 Subject: [PATCH] Fix assert in test-spawn caused by missing initialization of DBusError instance on gcc builds. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=95160 --- test/spawn-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spawn-test.c b/test/spawn-test.c index 723a488..12d37c8 100644 --- a/test/spawn-test.c +++ b/test/spawn-test.c @@ -16,7 +16,7 @@ main (int argc, char **argv) { char **argv_copy; int i; - DBusError error; + DBusError error = DBUS_ERROR_INIT; if (argc < 2) { -- 1.8.4.5