summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_tritemp.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-12-13 01:35:33 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-12-13 01:35:33 +0000
commitc360a721e7081c08cd33621462056a62335908a7 (patch)
tree5cf029886d1901120a1e36b10804316ac543bf8f /src/mesa/swrast/s_tritemp.h
parente39e7bc17c75903b764faf437a92a761f8fb02be (diff)
init vars to silence warnings
Diffstat (limited to 'src/mesa/swrast/s_tritemp.h')
-rw-r--r--src/mesa/swrast/s_tritemp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h
index 9180218b23..1949e7cd40 100644
--- a/src/mesa/swrast/s_tritemp.h
+++ b/src/mesa/swrast/s_tritemp.h
@@ -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;