[Mesa-dev] [PATCH 1/5] mesa: remove unused 'i' in dimensions_error_check()

Brian Paul brianp at vmware.com
Fri Apr 13 21:35:33 UTC 2018


---
 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 69521c5..0ab9ed4 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.7.4



More information about the mesa-dev mailing list