t_dd_dmatmp.h: Silence unused value warnings in render_line_loop_elts.
authorVinson Lee <vlee@vmware.com>
Sun, 13 Dec 2009 00:18:08 +0000 (16:18 -0800)
committerVinson Lee <vlee@vmware.com>
Sun, 13 Dec 2009 00:18:08 +0000 (16:18 -0800)
src/mesa/tnl_dd/t_dd_dmatmp.h

index 2877100..7182978 100644 (file)
@@ -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();