From: Alejandro PiƱeiro Date: Thu, 13 Jul 2017 09:38:48 +0000 (+0200) Subject: egl: remove unused err variable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57671025b0795d7f32f434dfd30d1264dbe1ebc7;p=mesa.git egl: remove unused err variable Fixes: 81e95924ea1 ("egl: call _eglError within _eglParseImageAttribList") Reviewed-by: Daniel Stone --- diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 2392bfbb2a5..5bf36bf309d 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -1910,7 +1910,7 @@ dri2_create_image_mesa_drm_buffer(_EGLDisplay *disp, _EGLContext *ctx, EGLClientBuffer buffer, const EGLint *attr_list) { struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); - EGLint format, name, pitch, err; + EGLint format, name, pitch; _EGLImageAttribs attrs; __DRIimage *dri_image;