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

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 12 23:37:16 UTC 2009


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec 12 15:27:30 2009 -0800

t_dd_dmatmp.h: Silence unused value warning in render_poly_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 f363009..7eadfc6 100644
--- a/src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/src/mesa/tnl_dd/t_dd_dmatmp.h
@@ -400,6 +400,7 @@ static void TAG(render_poly_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