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

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 12 13:40:46 PST 2009


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec 12 13:39:39 2009 -0800

t_dd_dmatmp.h: Silence unused value warning in render_tri_fan_verts.

---

 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 5151949..3d7e21f 100644
--- a/src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/src/mesa/tnl_dd/t_dd_dmatmp.h
@@ -360,6 +360,7 @@ static void TAG(render_tri_fan_verts)( GLcontext *ctx,
 	 tmp = ALLOC_VERTS( nr );
 	 tmp = TAG(emit_verts)( ctx, start, 1, tmp );
 	 tmp = TAG(emit_verts)( ctx, j, nr - 1, tmp );
+	 (void) tmp;
 	 currentsz = dmasz;
       }
 



More information about the mesa-commit mailing list