aboutsummaryrefslogtreecommitdiff
path: root/fdm.c
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-02-09 13:52:33 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-02-09 13:52:33 +0000
commit1ec56844387ed910b7e87bae186b58cc22cc317a (patch)
tree9152b213b96f67d4ab6b9e4e426350012260808d /fdm.c
parentrender: use portable HAS_INCLUDE() wrapper instead of __has_include() (diff)
Convert some uses of xassert(false) to BUG("some error message")
Diffstat (limited to 'fdm.c')
-rw-r--r--fdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fdm.c b/fdm.c
index 3394f10c..ef956450 100644
--- a/fdm.c
+++ b/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;
}