From e77bf3247524df31d19cf4c09a19fb8b52fd9d9d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alejandro=20Pi=C3=B1eiro?= Date: Sun, 11 Sep 2016 00:07:31 +0200 Subject: [PATCH] i965: remove unused variable at intel_miptree_create_for_teximage MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit After commit "i965: Fix calculation of the image height at start level", it is not needed. This commit removes the "warning: unused variable ‘i’" warning. Reviewed-by: Timothy Arceri --- src/mesa/drivers/dri/i965/intel_tex_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/intel_tex_image.c b/src/mesa/drivers/dri/i965/intel_tex_image.c index 65962eb41ba..6142a5fae35 100644 --- a/src/mesa/drivers/dri/i965/intel_tex_image.c +++ b/src/mesa/drivers/dri/i965/intel_tex_image.c @@ -40,7 +40,6 @@ intel_miptree_create_for_teximage(struct brw_context *brw, { GLuint lastLevel; int width, height, depth; - GLuint i; intel_get_image_dims(&intelImage->base.Base, &width, &height, &depth); -- 2.30.2