Convert some uses of xassert(false) to BUG("some error message")

This commit is contained in:
Craig Barnes 2021-02-09 13:52:33 +00:00
parent e19db15104
commit 1ec5684438
5 changed files with 10 additions and 12 deletions

View file

@ -209,7 +209,7 @@ execute_binding(struct seat *seat, struct terminal *term,
break;
default:
xassert(false);
BUG("Unhandled action type");
success = false;
break;
}