Drop wl_client and user data assertions in bind handlers

A client can never be NULL and user data assertions aren't really
useful there.
This commit is contained in:
Kirill Primak 2023-10-10 20:04:22 +03:00
parent e519635cc2
commit 0de3659698
9 changed files with 0 additions and 9 deletions

View file

@ -177,7 +177,6 @@ static void seat_handle_bind(struct wl_client *client, void *_wlr_seat,
uint32_t version, uint32_t id) {
// `wlr_seat` can be NULL if the seat global is being destroyed
struct wlr_seat *wlr_seat = _wlr_seat;
assert(client);
struct wl_resource *wl_resource =
wl_resource_create(client, &wl_seat_interface, version, id);