mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
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:
parent
30d088376c
commit
8f2bda6703
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue