mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-21 05:34:09 -04:00
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:
parent
e519635cc2
commit
0de3659698
9 changed files with 0 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue