From 8f2bda67034b1db89be28db1d1f3bfe33cfeb37b Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Tue, 1 Nov 2022 21:04:22 +0000 Subject: [PATCH] wayland: use BUG() instead of xassert(false) The latter will expand to the former anyway, so we may as well provide an explicit error message instead of "assertion failed: 'false'". --- wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland.c b/wayland.c index cd052532..fb103ad1 100644 --- a/wayland.c +++ b/wayland.c @@ -1915,7 +1915,7 @@ activation_token_done(void *data, struct xdg_activation_token_v1 *xdg_token, return; } - xassert(false); + BUG("activation token not found in list"); } static const struct