From f9c01c33d3d168ae7c2eadc6c0fb10faada6f6f5 Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 4 Apr 2007 09:30:28 -0600 Subject: init span.y=0 to silence warnings --- src/mesa/swrast/s_tritemp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h index 435491a0c8..c2b757f33e 100644 --- a/src/mesa/swrast/s_tritemp.h +++ b/src/mesa/swrast/s_tritemp.h @@ -196,6 +196,7 @@ static void NAME(GLcontext *ctx, const SWvertex *v0, (void) swrast; INIT_SPAN(span, GL_POLYGON, 0, 0, 0); + span.y = 0; /* silence warnings */ #ifdef INTERP_Z (void) fixedToDepthShift; -- cgit v1.2.3