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>
This commit is contained in:
Ralf Habacker 2018-03-20 07:59:56 +01:00
parent 00babc0bae
commit a3bc4392be

View file

@ -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