From 610c7486c24686429257d63403e275d56d7100b5 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 13 Jan 2015 11:30:55 -0800 Subject: [PATCH] egl/wayland: Fix unused variable warnings Remove ctx variables unused as of 70e8ccc459. --- src/egl/drivers/dri2/platform_wayland.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c index e8b441316ee..3c34e071580 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++) -- 2.30.2