diff options
author | Vinson Lee <vlee@vmware.com> | 2009-12-14 17:20:34 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-14 17:20:34 -0800 |
commit | b18fa9f44810cde45519368170a505cdd0ebb936 (patch) | |
tree | db73f610f152b04772a146ada9bf1ba2ec14d1d7 | |
parent | 6c9870b54c1aad42ead5b2655c19c42343b8bf84 (diff) | |
download | external_mesa3d-b18fa9f44810cde45519368170a505cdd0ebb936.zip external_mesa3d-b18fa9f44810cde45519368170a505cdd0ebb936.tar.gz external_mesa3d-b18fa9f44810cde45519368170a505cdd0ebb936.tar.bz2 |
mach64: Silence uninitialized variable warnings.
-rw-r--r-- | src/mesa/drivers/dri/mach64/mach64_tris.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_tris.c b/src/mesa/drivers/dri/mach64/mach64_tris.c index f2e8e2e..c2a0adf 100644 --- a/src/mesa/drivers/dri/mach64/mach64_tris.c +++ b/src/mesa/drivers/dri/mach64/mach64_tris.c @@ -1297,7 +1297,8 @@ do { \ #define LOCAL_VARS(n) \ mach64ContextPtr mmesa = MACH64_CONTEXT(ctx); \ - GLuint color[n], spec[n]; \ + GLuint color[n] = { 0 }; \ + GLuint spec[n] = { 0 }; \ GLuint vertex_size = mmesa->vertex_size; \ const GLuint xyoffset = 9; \ const GLuint coloroffset = 8; \ |