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

Vinson Lee vlee at kemper.freedesktop.org
Sun Dec 13 04:20:54 UTC 2009


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

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

t_dd_dmatmp.h: Silence unused value warning in render_poly_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 7182978..d568bfd 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;
       }




More information about the mesa-commit mailing list