From: Vinson Lee Date: Sun, 13 Dec 2009 00:18:08 +0000 (-0800) Subject: t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9dc018618d024cfbf1f342b0141bb6aab21f41b1;p=mesa.git t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts. --- 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();