diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2016-04-29 09:47:51 +0200 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2016-04-29 19:19:57 +0200 |
commit | eaf231b7db86954f38f8d2292f5586f12978fdf6 (patch) | |
tree | 6660323b16bc5087f7c2349c07786477ca740012 | |
parent | ffa99f343dcce5e1eede332dd4cfca6d22573475 (diff) | |
download | dbus-eaf231b7db86954f38f8d2292f5586f12978fdf6.tar.gz |
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 <simon.mcvittie@collabora.co.uk>
(cherry picked from commit 9323a621e868d6a5b628b89696b1efe0300ff939)
-rw-r--r-- | test/spawn-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/spawn-test.c b/test/spawn-test.c index 723a4889..12d37c80 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) { |