init vars to silence warnings
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 13 Dec 2003 01:35:33 +0000 (01:35 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 13 Dec 2003 01:35:33 +0000 (01:35 +0000)
src/mesa/swrast/s_tritemp.h

index 9180218b236fc82609f65a67d933c248538634dc..1949e7cd40f132471d291b4961729c65ad621b99 100644 (file)
@@ -580,7 +580,7 @@ static void NAME(GLcontext *ctx, const SWvertex *v0,
          GLfixed zLeft = 0, fdzOuter = 0, fdzInner;
 #endif
 #ifdef INTERP_W
-         GLfloat wLeft, dwOuter, dwInner;
+         GLfloat wLeft = 0, dwOuter = 0, dwInner;
 #endif
 #ifdef INTERP_FOG
          GLfloat fogLeft = 0, dfogOuter = 0, dfogInner;