This silences -Wswitch-default.
Based on part of a patch from Thomas Zimmermann.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98191
_dbus_verbose (" %s auth state: authenticated\n",
TRANSPORT_SIDE (transport));
break;
+
+ case DBUS_AUTH_STATE_INVALID:
+ /* fall through */
default:
_dbus_assert_not_reached ("invalid auth state");
}
_DBUS_ASSERT_ERROR_IS_SET (&tmp_error);
goto out;
break;
+ default:
+ _dbus_assert_not_reached ("invalid transport open result");
+ break;
}
}