mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-03 09:10:16 +01:00
_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:
parent
5efe081fd4
commit
de59791882
1 changed files with 0 additions and 4 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue