wayland: silence unused var warning
authorFabio Pedretti <fabio.ped@libero.it>
Wed, 30 Oct 2013 14:22:03 +0000 (15:22 +0100)
committerChad Versace <chad.versace@linux.intel.com>
Wed, 30 Oct 2013 19:50:09 +0000 (12:50 -0700)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/egl/wayland/wayland-drm/wayland-drm.c

index 2f5acb217d1d4071f89c212d5506e347198de3d6..e9c6e0a6507cb351c4db5b9ae14c53430493fd7e 100644 (file)
@@ -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;