Mesa (master): egl/android: Drop unused variable
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue May 26 20:06:05 UTC 2020
Module: Mesa
Branch: master
Commit: a5a413e19a82b1d97e9d7e0fc504e6012781d90b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5a413e19a82b1d97e9d7e0fc504e6012781d90b
Author: Kristian H. Kristensen <hoegsberg at google.com>
Date: Fri May 22 14:56:08 2020 -0700
egl/android: Drop unused variable
src/egl/drivers/dri2/platform_android.c:332:29: warning: unused
variable 'dri2_dpy' [-Wunused-variable]
Reviewed-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5174>
---
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;
More information about the mesa-commit
mailing list