From 2f81a1d07c3828391bf1b5656a9143aaf3822089 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Tue, 9 Feb 2021 15:16:19 +0000 Subject: Convert some more uses of xassert(false) to BUG("...") --- search.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'search.c') diff --git a/search.c b/search.c index 4fde8a92..d7939219 100644 --- a/search.c +++ b/search.c @@ -785,11 +785,11 @@ execute_binding(struct seat *seat, struct terminal *term, return true; case BIND_ACTION_SEARCH_COUNT: - xassert(false); + BUG("Invalid action type"); return true; } - xassert(false); + BUG("Unhandled action type"); return false; } -- cgit v1.3