summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-12 16:18:08 -0800
committerVinson Lee <[email protected]>2009-12-12 16:18:08 -0800
commit9dc018618d024cfbf1f342b0141bb6aab21f41b1 (patch)
treeca05c7f15553206b17905d5c9e7fedccb1a2e6ff
parentaf4e4a73f78cb5ccb5b0295a4683b2eae5325d8f (diff)
t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.
-rw-r--r--src/mesa/tnl_dd/t_dd_dmatmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 28771004b88..7182978a171 100644
--- a/src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/src/mesa/tnl_dd/t_dd_dmatmp.h
@@ -825,6 +825,7 @@ static void TAG(render_line_loop_elts)( GLcontext *ctx,
tmp = ALLOC_ELTS(nr+1);
tmp = TAG(emit_elts)( ctx, elts+j, nr, tmp );
tmp = TAG(emit_elts)( ctx, elts+start, 1, tmp );
+ (void) tmp;
}
else {
TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
@@ -838,6 +839,7 @@ static void TAG(render_line_loop_elts)( GLcontext *ctx,
tmp = ALLOC_ELTS(2);
tmp = TAG(emit_elts)( ctx, elts+start+1, 1, tmp );
tmp = TAG(emit_elts)( ctx, elts+start, 1, tmp );
+ (void) tmp;
}
FLUSH();