Mesa (mesa_7_6_branch): t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 12 16:02:54 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: af4e4a73f78cb5ccb5b0295a4683b2eae5325d8f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=af4e4a73f78cb5ccb5b0295a4683b2eae5325d8f

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec 12 16:02:09 2009 -0800

t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_elts.

---

 src/mesa/tnl_dd/t_dd_dmatmp.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 7eadfc6..2877100 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;
       }



More information about the mesa-commit mailing list