summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2/platform_wayland.c
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2015-01-13 11:30:55 -0800
committerChad Versace <chad.versace@intel.com>2015-01-13 11:33:23 -0800
commit610c7486c24686429257d63403e275d56d7100b5 (patch)
treeebe9b4f6031627b43a6128531a12695e74d109d8 /src/egl/drivers/dri2/platform_wayland.c
parent90d2a8519307effd4081baadf16067073f2aae49 (diff)
downloadexternal_mesa3d-610c7486c24686429257d63403e275d56d7100b5.zip
external_mesa3d-610c7486c24686429257d63403e275d56d7100b5.tar.gz
external_mesa3d-610c7486c24686429257d63403e275d56d7100b5.tar.bz2
egl/wayland: Fix unused variable warnings
Remove ctx variables unused as of 70e8ccc459.
Diffstat (limited to 'src/egl/drivers/dri2/platform_wayland.c')
-rw-r--r--src/egl/drivers/dri2/platform_wayland.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
index e8b4413..3c34e07 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -596,8 +596,6 @@ dri2_wl_swap_buffers_with_damage(_EGLDriver *drv,
{
struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);
struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw);
- struct dri2_egl_context *dri2_ctx;
- _EGLContext *ctx;
int i;
for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++)