mesa: remove unused 'i' in dimensions_error_check()
authorBrian Paul <brianp@vmware.com>
Fri, 13 Apr 2018 21:31:20 +0000 (15:31 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 14 Apr 2018 01:06:55 +0000 (19:06 -0600)
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/texgetimage.c

index 69521c5dd058e4a77c41e747fa7739b44215ac82..0ab9ed445d63172707c2841e2bc32a77b48701bc 100644 (file)
@@ -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);