mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-02 06:20:13 +01:00
dbus-launch: Fix unused variable warning when libX11 not present
Closes: https://gitlab.freedesktop.org/dbus/dbus/issues/228 Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
c0bf0d185d
commit
93b7bb392b
1 changed files with 2 additions and 0 deletions
|
|
@ -846,7 +846,9 @@ main (int argc, char **argv)
|
|||
dbus_bool_t user_bus_supported = FALSE;
|
||||
DBusString user_bus;
|
||||
const char *error_str;
|
||||
#ifdef DBUS_BUILD_X11
|
||||
DBusError error = DBUS_ERROR_INIT;
|
||||
#endif
|
||||
|
||||
exit_with_session = FALSE;
|
||||
config_file = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue