From: Jakob Bornecrantz Date: Mon, 9 Jan 2012 14:38:35 +0000 (+0100) Subject: mesa: Silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ec4ae193045a949e46bfd43ee023a1b3ea095e6;p=mesa.git mesa: Silence warning Signed-off-by: Jakob Bornecrantz Reviewed-by Brian Paul Reviewed-by Ian Romanick --- 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;