From 103824dc24e27d933f84490391d38e5c02676210 Mon Sep 17 00:00:00 2001 From: Fabio Pedretti Date: Wed, 30 Oct 2013 15:22:03 +0100 Subject: wayland: silence unused var warning Reviewed-by: Chad Versace --- src/egl/wayland/wayland-drm/wayland-drm.c | 2 -- 1 file changed, 2 deletions(-) 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; -- cgit v1.2.3