diff options
author | Vinson Lee <[email protected]> | 2009-12-15 16:32:51 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-15 16:32:51 -0800 |
commit | 7e3825abdb53c791633ee85ed544ac1cbe1a65e6 (patch) | |
tree | ef7de5718e409a007773147552c5b4ba466ff11d /src/mesa/drivers/dri/savage/savagetris.c | |
parent | ca02109e91ce7aab76eaea93d41ca98dfea22a36 (diff) |
savage: Silence compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagetris.c')
-rw-r--r-- | src/mesa/drivers/dri/savage/savagetris.c | 3 |
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 = \ |