_dbus_credentials_to_string_append: Remove useless join = FALSE

It can't actually matter in practice, because we never know the
Unix uid and Unix groups but not pid, and we never have a Windows SID
and also a Linux security label; but resetting join to FALSE can only
ever result in us outputting something like "foo=123bar=456" instead
of the intended form with a space in the middle.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103737
This commit is contained in:
Simon McVittie 2018-01-16 13:15:34 +00:00
parent 5efe081fd4
commit de59791882

View file

@ -681,8 +681,6 @@ _dbus_credentials_to_string_append (DBusCredentials *credentials,
goto oom;
join = TRUE;
}
else
join = FALSE;
if (credentials->unix_gids != NULL)
{
@ -705,8 +703,6 @@ _dbus_credentials_to_string_append (DBusCredentials *credentials,
goto oom;
join = TRUE;
}
else
join = FALSE;
if (credentials->linux_security_label != NULL)
{