aboutsummaryrefslogtreecommitdiff
path: root/search.c
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2021-02-10 21:03:00 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2021-02-10 21:03:00 +0000
commit1add430b5b6bc2ff616fb859c3b882602ff5222d (patch)
treea7df73c007742a43b4948a8ef4565be5bf18e070 /search.c
parentMerge branch 'turn-meson-terminfo-option-into-a-feature' (diff)
parentMark slave_exec() as "noreturn" and convert xassert(false) to BUG(...) (diff)
Merge branch 'xassert-false'
Diffstat (limited to 'search.c')
-rw-r--r--search.c4
1 files changed, 2 insertions, 2 deletions
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;
}