summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage/savagetris.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-15 16:32:51 -0800
committerVinson Lee <[email protected]>2009-12-15 16:32:51 -0800
commit7e3825abdb53c791633ee85ed544ac1cbe1a65e6 (patch)
treeef7de5718e409a007773147552c5b4ba466ff11d /src/mesa/drivers/dri/savage/savagetris.c
parentca02109e91ce7aab76eaea93d41ca98dfea22a36 (diff)
savage: Silence compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagetris.c')
-rw-r--r--src/mesa/drivers/dri/savage/savagetris.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/savage/savagetris.c b/src/mesa/drivers/dri/savage/savagetris.c
index c04763b40e1..0714101dc05 100644
--- a/src/mesa/drivers/dri/savage/savagetris.c
+++ b/src/mesa/drivers/dri/savage/savagetris.c
@@ -435,7 +435,8 @@ do { \
#define LOCAL_VARS(n) \
savageContextPtr imesa = SAVAGE_CONTEXT(ctx); \
- GLuint color[n], spec[n]; \
+ GLuint color[n] = { 0 }; \
+ GLuint spec[n] = { 0 }; \
GLuint coloroffset = \
((imesa->skip & SAVAGE_SKIP_W) ? 3 : 4); \
GLboolean specoffset = \