diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2009-08-25 19:28:00 +0300 |
---|---|---|
committer | Pauli Nieminen <suokkos@gmail.com> | 2009-08-25 19:35:41 +0300 |
commit | c3374bf97ecd82b915fb29c7c04951e2b75d4dbc (patch) | |
tree | f00b6561f6c8e27a5058f2aae601629d7844b64d /src/mesa/drivers/dri/radeon/radeon_swtcl.c | |
parent | 42ecb1287ebb8b6f29d300e8dcb0e9487504dabc (diff) |
radeon: Fix all compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_swtcl.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_swtcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_swtcl.c b/src/mesa/drivers/dri/radeon/radeon_swtcl.c index 20ce6c470b..14d5b5a2af 100644 --- a/src/mesa/drivers/dri/radeon/radeon_swtcl.c +++ b/src/mesa/drivers/dri/radeon/radeon_swtcl.c @@ -552,7 +552,7 @@ do { \ #define LOCAL_VARS(n) \ r100ContextPtr rmesa = R100_CONTEXT(ctx); \ - GLuint color[n], spec[n]; \ + GLuint color[n] = {0}, spec[n] = {0}; \ GLuint coloroffset = rmesa->swtcl.coloroffset; \ GLuint specoffset = rmesa->swtcl.specoffset; \ (void) color; (void) spec; (void) coloroffset; (void) specoffset; |