Mesa (mesa_7_6_branch): t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 12 16:19:14 PST 2009


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

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

t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.

---

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

diff --git a/src/mesa/tnl_dd/t_dd_dmatmp.h b/src/mesa/tnl_dd/t_dd_dmatmp.h
index 2877100..7182978 100644
--- a/src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/src/mesa/tnl_dd/t_dd_dmatmp.h
@@ -825,6 +825,7 @@ static void TAG(render_line_loop_elts)( GLcontext *ctx,
 	       tmp = ALLOC_ELTS(nr+1);
 	       tmp = TAG(emit_elts)( ctx, elts+j, nr, tmp );
 	       tmp = TAG(emit_elts)( ctx, elts+start, 1, tmp );
+	       (void) tmp;
 	    }
 	    else {
 	       TAG(emit_elts)( ctx, elts+j, nr, ALLOC_ELTS(nr) );
@@ -838,6 +839,7 @@ static void TAG(render_line_loop_elts)( GLcontext *ctx,
 	 tmp = ALLOC_ELTS(2);
 	 tmp = TAG(emit_elts)( ctx, elts+start+1, 1, tmp );
 	 tmp = TAG(emit_elts)( ctx, elts+start, 1, tmp );
+	 (void) tmp;
       }
 
       FLUSH();



More information about the mesa-commit mailing list