mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
Convert some more uses of xassert(false) to BUG("...")
This commit is contained in:
parent
1ec5684438
commit
2f81a1d07c
3 changed files with 5 additions and 5 deletions
4
search.c
4
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue