Convert all but 2 remaining uses of xassert(false) to BUG("...")

This commit is contained in:
Craig Barnes 2021-02-10 09:01:51 +00:00
parent 2f81a1d07c
commit 3c86af52c2
4 changed files with 12 additions and 17 deletions

View file

@ -1225,7 +1225,7 @@ wl_pointer_enter(void *data, struct wl_pointer *wl_pointer,
break;
case TERM_SURF_NONE:
xassert(false);
BUG("Invalid surface type");
break;
}
}
@ -1806,7 +1806,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
}
case TERM_SURF_NONE:
xassert(false);
BUG("Invalid surface type");
break;
}