diff options
author | Alex Richardson <arichardson.kde@gmail.com> | 2022-04-16 16:04:22 +0000 |
---|---|---|
committer | Alex Richardson <arichardson.kde@gmail.com> | 2022-04-16 16:04:57 +0000 |
commit | 6c1c7e539f17099e6f2b624cdae160fd8138a8fb (patch) | |
tree | a43754756116978fc25f6d20038b2c06510de3a8 /tools | |
parent | e47891864bfd0a308db9b236acf93bba025c85b9 (diff) | |
download | dbus-6c1c7e539f17099e6f2b624cdae160fd8138a8fb.tar.gz |
Fix no-X11 build after d847b5f6ae994c408c166ed51752ed9f550df600
Since that commit the error variable is used in all cases not only the
DBUS_BUILD_X11 #ifdef branches.
Fixes: https://gitlab.freedesktop.org/dbus/dbus/-/issues/392
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dbus-launch.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/dbus-launch.c b/tools/dbus-launch.c index 6b9fbe07..5637e414 100644 --- a/tools/dbus-launch.c +++ b/tools/dbus-launch.c @@ -846,9 +846,7 @@ main (int argc, char **argv) dbus_bool_t existing_bus_supported = FALSE; DBusString existing_bus; const char *error_str; -#ifdef DBUS_BUILD_X11 DBusError error = DBUS_ERROR_INIT; -#endif exit_with_session = FALSE; config_file = NULL; |