mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-15 05:33:58 -04:00
Convert some uses of xassert(false) to BUG("some error message")
This commit is contained in:
parent
e19db15104
commit
1ec5684438
5 changed files with 10 additions and 12 deletions
2
fdm.c
2
fdm.c
|
|
@ -251,7 +251,7 @@ hook_priority_to_list(struct fdm *fdm, enum fdm_hook_priority priority)
|
|||
case FDM_HOOK_PRIORITY_HIGH: return &fdm->hooks_high;
|
||||
}
|
||||
|
||||
xassert(false);
|
||||
BUG("unhandled priority type");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue