[Mesa-dev] [PATCH] egl/android: Remove unused variables
Nicolas Boichat
drinkcat at chromium.org
Wed Jul 13 03:33:24 UTC 2016
From: Tomasz Figa <tfiga at chromium.org>
There are some unused variables left after previous clean-ups triggering
compiler warnings. Let's remove them.
Signed-off-by: Tomasz Figa <tfiga at chromium.org>
---
src/egl/drivers/dri2/platform_android.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index b1d7272..b33f4e8 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -431,10 +431,8 @@ droid_image_get_buffers(__DRIdrawable *driDrawable,
static EGLBoolean
droid_swap_buffers(_EGLDriver *drv, _EGLDisplay *disp, _EGLSurface *draw)
{
- struct dri2_egl_driver *dri2_drv = dri2_egl_driver(drv);
struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);
struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw);
- _EGLContext *ctx;
if (dri2_surf->base.Type != EGL_WINDOW_BIT)
return EGL_TRUE;
--
2.8.0.rc3.226.g39d4020
More information about the mesa-dev
mailing list