diff options
-rw-r--r-- | src/wayland-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland-server.c b/src/wayland-server.c index a1d69e5..d7c58b9 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -501,7 +501,7 @@ wl_resource_get_link(struct wl_resource *resource) WL_EXPORT struct wl_resource * wl_resource_from_link(struct wl_list *link) { - struct wl_resource *resource; + struct wl_resource *resource = NULL; return wl_container_of(link, resource, link); } |