summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-04-13 15:31:20 -0600
committerBrian Paul <[email protected]>2018-04-13 19:06:55 -0600
commitbf67fec2355ed6f44cfb26a66763c7e1d6f5baa2 (patch)
tree11130a595d025ffeb5587c613af0e26c42b3e95b /src/mesa
parent976db661ff77bf3e2f026dfb192545eb1cfd9250 (diff)
mesa: remove unused 'i' in dimensions_error_check()
Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texgetimage.c1
1 files changed, 0 insertions, 1 deletions
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);