init span.y=0 to silence warnings
authorBrian <brian@yutani.localnet.net>
Wed, 4 Apr 2007 15:30:28 +0000 (09:30 -0600)
committerBrian <brian@yutani.localnet.net>
Wed, 4 Apr 2007 15:30:28 +0000 (09:30 -0600)
src/mesa/swrast/s_tritemp.h

index 435491a0c80e7c036c52f5dceca48ac70b1cf928..c2b757f33edc443f723f95382ca62bb11be012e7 100644 (file)
@@ -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;