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'".
This commit is contained in:
Craig Barnes 2022-11-01 21:04:22 +00:00
parent 30d088376c
commit 8f2bda6703

View file

@ -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