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 28771004b880f79a8aae725810d9434e875d85dd..7182978a1710ac72da0e0651abe9d3c57235897c 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();