aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/wayland
diff options
context:
space:
mode:
authorFabio Pedretti <[email protected]>2013-10-30 15:22:03 +0100
committerChad Versace <[email protected]>2013-10-30 12:50:09 -0700
commit103824dc24e27d933f84490391d38e5c02676210 (patch)
treeefa39195178831ceef2abf9f36bcbe3f7bae1eda /src/egl/wayland
parent5e162566dbd58005c4b871a1f878495550cac91e (diff)
wayland: silence unused var warning
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/egl/wayland')
-rw-r--r--src/egl/wayland/wayland-drm/wayland-drm.c2
1 files changed, 0 insertions, 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;