From: Fabio Pedretti Date: Wed, 30 Oct 2013 14:22:03 +0000 (+0100) Subject: wayland: silence unused var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=103824dc24e27d933f84490391d38e5c02676210;p=mesa.git wayland: silence unused var warning Reviewed-by: Chad Versace --- diff --git a/src/egl/wayland/wayland-drm/wayland-drm.c b/src/egl/wayland/wayland-drm/wayland-drm.c index 2f5acb217d1..e9c6e0a6507 100644 --- a/src/egl/wayland/wayland-drm/wayland-drm.c +++ b/src/egl/wayland/wayland-drm/wayland-drm.c @@ -247,8 +247,6 @@ bind_drm(struct wl_client *client, void *data, uint32_t version, uint32_t id) struct wl_drm_buffer * wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource) { - struct wl_drm_buffer *buffer; - if (resource == NULL) return NULL;