[Mesa-dev] [PATCH 05/12] mesa: Silence warning

Jakob Bornecrantz jakob at vmware.com
Mon Jan 9 14:53:10 PST 2012


Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
---
 src/mesa/program/nvvertparse.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/program/nvvertparse.c b/src/mesa/program/nvvertparse.c
index 91fe2c4..7b46bef 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;
 
-- 
1.7.5.4



More information about the mesa-dev mailing list