egl: remove unused err variable
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 13 Jul 2017 09:38:48 +0000 (11:38 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 13 Jul 2017 11:36:37 +0000 (13:36 +0200)
Fixes: 81e95924ea1 ("egl: call _eglError within _eglParseImageAttribList")
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/egl_dri2.c

index 2392bfbb2a5809b20b650b04d7392117e0ef77a1..5bf36bf309dbf149eadb833a740e5c9ecc6e2b36 100644 (file)
@@ -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;