From: Brian Date: Wed, 4 Apr 2007 15:30:28 +0000 (-0600) Subject: init span.y=0 to silence warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9c01c33d3d168ae7c2eadc6c0fb10faada6f6f5;p=mesa.git init span.y=0 to silence warnings --- diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h index 435491a0c80..c2b757f33ed 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;