From 1ec4ae193045a949e46bfd43ee023a1b3ea095e6 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 9 Jan 2012 15:38:35 +0100 Subject: [PATCH] mesa: Silence warning Signed-off-by: Jakob Bornecrantz Reviewed-by Brian Paul Reviewed-by Ian Romanick --- src/mesa/program/nvvertparse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/program/nvvertparse.c b/src/mesa/program/nvvertparse.c index 91fe2c48b7f..7b46bef91b0 100644 --- a/src/mesa/program/nvvertparse.c +++ b/src/mesa/program/nvvertparse.c @@ -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; -- 2.30.2