mesa: Silence warning
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 9 Jan 2012 14:38:35 +0000 (15:38 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Tue, 10 Jan 2012 15:59:43 +0000 (16:59 +0100)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by Brian Paul <brianp@vmware.com>
Reviewed-by Ian Romanick <ian.d.romanick@intel.com>

src/mesa/program/nvvertparse.c

index 91fe2c48b7f78d32d7c4d19128233cdcaded7e6d..7b46bef91b046a6676207dec6bce6374bc4922cb 100644 (file)
@@ -1424,6 +1424,7 @@ _mesa_parse_nv_vertex_program(struct gl_context *ctx, GLenum dstTarget,
         index = _mesa_add_state_reference(program->Base.Parameters,
                                           state_tokens);
         assert(index == i);
+        (void)index;
       }
       program->Base.NumParameters = program->Base.Parameters->NumParameters;