diff options
author | Vinson Lee <vlee@vmware.com> | 2009-12-14 17:30:15 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-14 17:30:15 -0800 |
commit | 6e5fe39f5051bb758b98ed4b9a2b9d550b588edf (patch) | |
tree | 7431812f047ebc47b0667a7a88915f44a18043c4 /src/mesa/drivers/dri | |
parent | b18fa9f44810cde45519368170a505cdd0ebb936 (diff) |
mga: Silence uninitialized variable warnings.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/mga/mgatris.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mga/mgatris.c b/src/mesa/drivers/dri/mga/mgatris.c index b93a21c3ac..c1bcd4b853 100644 --- a/src/mesa/drivers/dri/mga/mgatris.c +++ b/src/mesa/drivers/dri/mga/mgatris.c @@ -397,7 +397,8 @@ do { \ #define LOCAL_VARS(n) \ mgaContextPtr mmesa = MGA_CONTEXT(ctx); \ - GLuint color[n], spec[n]; \ + GLuint color[n] = { 0 }; \ + GLuint spec[n] = { 0 }; \ (void) color; (void) spec; |