From: Tomasz Figa Date: Tue, 2 Aug 2016 11:07:49 +0000 (+0900) Subject: egl/android: Remove unused variables in droid_get_buffers_with_format() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6c26bc589f57c083f040ad70d1606cfa382c66a;p=mesa.git egl/android: Remove unused variables in droid_get_buffers_with_format() Fix compilation warnings due to unused variables left after some earlier code changes. Signed-off-by: Tomasz Figa Tested-by: Rob Herring Reviewed-by: Chad Versace Change-Id: Iec09eb2a62887f3a38dff156756ed8385f3f3447 --- diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index e3d5f0bf4c9..124a30c72f7 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -635,9 +635,6 @@ droid_get_buffers_with_format(__DRIdrawable * driDrawable, int *out_count, void *loaderPrivate) { struct dri2_egl_surface *dri2_surf = loaderPrivate; - struct dri2_egl_display *dri2_dpy = - dri2_egl_display(dri2_surf->base.Resource.Display); - int i; if (update_buffers(dri2_surf) < 0) return NULL;