Mesa (master): egl/wayland: Fix unused variable warnings
Chad Versace
chadversary at kemper.freedesktop.org
Tue Jan 13 19:34:37 UTC 2015
Module: Mesa
Branch: master
Commit: 610c7486c24686429257d63403e275d56d7100b5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=610c7486c24686429257d63403e275d56d7100b5
Author: Chad Versace <chad.versace at intel.com>
Date: Tue Jan 13 11:30:55 2015 -0800
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 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++)
More information about the mesa-commit
mailing list