aboutsummaryrefslogtreecommitdiff
path: root/input.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 /input.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 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 79368270..ad3934b6 100644
--- a/input.c
+++ b/input.c
@@ -209,7 +209,7 @@ execute_binding(struct seat *seat, struct terminal *term,
break;
default:
- xassert(false);
+ BUG("Unhandled action type");
success = false;
break;
}