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

Vinson Lee vlee at kemper.freedesktop.org
Sat Dec 12 08:38:32 UTC 2009


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Dec 12 00:33:42 2009 -0800

t_dd_dmatmp.h: Silence unused value warning in render_line_loop_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 e4b535f..f5d21b8 100644
--- a/src/mesa/tnl_dd/t_dd_dmatmp.h
+++ b/src/mesa/tnl_dd/t_dd_dmatmp.h
@@ -241,6 +241,7 @@ static void TAG(render_line_loop_verts)( GLcontext *ctx,
 	       tmp = ALLOC_VERTS(nr+1);
 	       tmp = TAG(emit_verts)( ctx, j, nr, tmp );
 	       tmp = TAG(emit_verts)( ctx, start, 1, tmp );
+	       (void) tmp;
 	    }
 	    else {
 	       TAG(emit_verts)( ctx, j, nr, ALLOC_VERTS(nr) );




More information about the mesa-commit mailing list