From ccda100a5a2838adec16ac10b2cc1c73e666e7d2 Mon Sep 17 00:00:00 2001 From: Tomasz Figa Date: Wed, 13 Jul 2016 11:33:24 +0800 Subject: [PATCH] egl/android: Remove unused variables There are some unused variables left after previous clean-ups triggering compiler warnings. Let's remove them. Cc: "12.0" Signed-off-by: Tomasz Figa Reviewed-by: Emil Velikov --- 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 b1d7272092c..b33f4e8c8b0 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.30.2