From: Vinson Lee Date: Sun, 13 Dec 2009 04:20:02 +0000 (-0800) Subject: t_dd_dmatmp.h: Silence unused value warning in render_poly_elts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20590b97336c4ebe5d2bcee51d66820e1e5d26c8;p=mesa.git t_dd_dmatmp.h: Silence unused value warning in render_poly_elts. --- diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h index 7182978a171..d568bfdb584 100644 --- a/src/mesa/tnl_dd/t_dd_dmatmp.h +++ b/src/mesa/tnl_dd/t_dd_dmatmp.h @@ -991,6 +991,7 @@ static void TAG(render_poly_elts)( GLcontext *ctx, tmp = ALLOC_ELTS( nr ); tmp = TAG(emit_elts)( ctx, elts+start, 1, tmp ); tmp = TAG(emit_elts)( ctx, elts+j, nr - 1, tmp ); + (void) tmp; FLUSH(); currentsz = dmasz; }