summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2012-01-09 15:38:35 +0100
committerJakob Bornecrantz <[email protected]>2012-01-10 16:59:43 +0100
commit1ec4ae193045a949e46bfd43ee023a1b3ea095e6 (patch)
tree225c4451e137321e364b7e46deb8fd29bd9cd643 /src/mesa/program
parent230cc36611346ad61610d6c19404e777878d7501 (diff)
mesa: Silence warning
Signed-off-by: Jakob Bornecrantz <[email protected]> Reviewed-by Brian Paul <[email protected]> Reviewed-by Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/nvvertparse.c1
1 files changed, 1 insertions, 0 deletions
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;