From: Ralf Habacker Date: Fri, 29 Apr 2016 07:47:51 +0000 (+0200) Subject: Fix assert in test-spawn caused by missing initialization of DBusError instance on... X-Git-Tag: dbus-1.11.4~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9323a621e868d6a5b628b89696b1efe0300ff939;p=thirdparty%2Fdbus.git 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 Reviewed-by: Simon McVittie --- diff --git a/test/spawn-test.c b/test/spawn-test.c index 723a4889a..12d37c80d 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) {