diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2018-03-20 07:59:56 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2018-03-20 13:26:51 +0100 |
commit | a3bc4392be35ce0f97e1b632f36b36e4ca755a1d (patch) | |
tree | 1126ed3aaa446d5838527d86fef03c0b918d29ad /dbus/dbus-sysdeps.c | |
parent | 00babc0bae7bdd4dcf7489ec80dc010c272323b6 (diff) |
Fix using uninitialized value "name" in _dbus_combine_tcp_errors
Coverity CID 265359.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61922
Reviewed-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'dbus/dbus-sysdeps.c')
-rw-r--r-- | dbus/dbus-sysdeps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index 98d5a925..d9fd13a9 100644 --- a/dbus/dbus-sysdeps.c +++ b/dbus/dbus-sysdeps.c @@ -925,7 +925,7 @@ _dbus_combine_tcp_errors (DBusList **sources, else { DBusList *iter; - const char *name; + const char *name = NULL; /* If there was more than one error, concatenate all the * errors' diagnostic messages, and use their common error |