From: Brian Paul Date: Fri, 13 Apr 2018 21:31:20 +0000 (-0600) Subject: mesa: remove unused 'i' in dimensions_error_check() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf67fec2355ed6f44cfb26a66763c7e1d6f5baa2;p=mesa.git mesa: remove unused 'i' in dimensions_error_check() Reviewed-by: Charmaine Lee Reviewed-by: Marek Olšák --- 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);