From: Vinson Lee Date: Sun, 13 Dec 2009 00:02:09 +0000 (-0800) Subject: t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af4e4a73f78cb5ccb5b0295a4683b2eae5325d8f;p=mesa.git t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts. --- diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h index 7eadfc6219f..28771004b88 100644 --- a/src/mesa/tnl_dd/t_dd_dmatmp.h +++ b/src/mesa/tnl_dd/t_dd_dmatmp.h @@ -951,6 +951,7 @@ static void TAG(render_tri_fan_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; }