From a5a413e19a82b1d97e9d7e0fc504e6012781d90b Mon Sep 17 00:00:00 2001 From: "Kristian H. Kristensen" Date: Fri, 22 May 2020 14:56:08 -0700 Subject: [PATCH] egl/android: Drop unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit src/egl/drivers/dri2/platform_android.c:332:29: warning: unused variable 'dri2_dpy' [-Wunused-variable] Reviewed-by: Rob Clark Reviewed-by: Marek Olšák Part-of: --- src/egl/drivers/dri2/platform_android.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index eee336cca93..31acf540657 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -309,7 +309,6 @@ static bool droid_set_shared_buffer_mode(_EGLDisplay *disp, _EGLSurface *surf, bool mode) { #if ANDROID_API_LEVEL >= 24 - struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); struct dri2_egl_surface *dri2_surf = dri2_egl_surface(surf); struct ANativeWindow *window = dri2_surf->window; -- 2.30.2