From bf67fec2355ed6f44cfb26a66763c7e1d6f5baa2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 13 Apr 2018 15:31:20 -0600 Subject: [PATCH] mesa: remove unused 'i' in dimensions_error_check() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Charmaine Lee Reviewed-by: Marek Olšák --- src/mesa/main/texgetimage.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index 69521c5dd05..0ab9ed445d6 100644 --- a/src/mesa/main/texgetimage.c +++ b/src/mesa/main/texgetimage.c @@ -913,7 +913,6 @@ dimensions_error_check(struct gl_context *ctx, const char *caller) { const struct gl_texture_image *texImage; - int i; if (xoffset < 0) { _mesa_error(ctx, GL_INVALID_VALUE, "%s(xoffset = %d)", caller, xoffset); -- 2.30.2