summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/sis/sis_tris.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-15 17:06:01 -0800
committerVinson Lee <vlee@vmware.com>2009-12-15 17:06:01 -0800
commita60457b03b4549808de63457485fe9eb00b9fee5 (patch)
tree6b8db5a3808fc1dfa36e18f215919eaa7f5cd965 /src/mesa/drivers/dri/sis/sis_tris.c
parent7e3825abdb53c791633ee85ed544ac1cbe1a65e6 (diff)
sis: Silence compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri/sis/sis_tris.c')
-rw-r--r--src/mesa/drivers/dri/sis/sis_tris.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/sis/sis_tris.c b/src/mesa/drivers/dri/sis/sis_tris.c
index 76d12d07b3..4fa2e41e44 100644
--- a/src/mesa/drivers/dri/sis/sis_tris.c
+++ b/src/mesa/drivers/dri/sis/sis_tris.c
@@ -430,7 +430,8 @@ do { \
#define LOCAL_VARS(n) \
sisContextPtr smesa = SIS_CONTEXT(ctx); \
- GLuint color[n], spec[n]; \
+ GLuint color[n] = { 0 }; \
+ GLuint spec[n] = { 0 }; \
GLuint coloroffset = smesa->coloroffset; \
GLuint specoffset = smesa->specoffset; \
(void) color; (void) spec; (void) coloroffset; (void) specoffset;