mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 22:48:02 +02:00
Mark WaitingForOK state as unused
It should probably be used (see #97298) but the fact that it isn't
is breaking compatibility with gcc 6, so apply a quick workaround
while we look into what's wrong here.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=97282
(cherry picked from commit 21d6118081)
This commit is contained in:
parent
4729b7a5f4
commit
7ebe1de218
1 changed files with 3 additions and 0 deletions
|
|
@ -282,6 +282,9 @@ static const DBusAuthStateData client_state_need_send_auth = {
|
|||
static const DBusAuthStateData client_state_waiting_for_data = {
|
||||
"WaitingForData", handle_client_state_waiting_for_data
|
||||
};
|
||||
/* The WaitingForOK state doesn't appear to be used.
|
||||
* See https://bugs.freedesktop.org/show_bug.cgi?id=97298 */
|
||||
_DBUS_GNUC_UNUSED
|
||||
static const DBusAuthStateData client_state_waiting_for_ok = {
|
||||
"WaitingForOK", handle_client_state_waiting_for_ok
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue