diff options
author | Vinson Lee <vlee@vmware.com> | 2009-12-15 13:12:12 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2009-12-15 13:12:12 -0800 |
commit | ca02109e91ce7aab76eaea93d41ca98dfea22a36 (patch) | |
tree | 35b3f1569c92988ae7e5734a5c8f640179ea5791 /src/mesa | |
parent | 7430c3ac35ed47227c47f8f5ed184e6e754ea5e7 (diff) |
r128: Silence uninitialized variable warnings in r128_tris.c.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/r128/r128_tris.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_tris.c b/src/mesa/drivers/dri/r128/r128_tris.c index 5b91271d74..82d825b8d2 100644 --- a/src/mesa/drivers/dri/r128/r128_tris.c +++ b/src/mesa/drivers/dri/r128/r128_tris.c @@ -216,7 +216,8 @@ do { \ #define LOCAL_VARS(n) \ r128ContextPtr rmesa = R128_CONTEXT(ctx); \ - GLuint color[n], spec[n]; \ + GLuint color[n] = { 0 }; \ + GLuint spec[n] = { 0 }; \ GLuint coloroffset = rmesa->coloroffset; \ GLuint specoffset = rmesa->specoffset; \ GLboolean havespec = (rmesa->specoffset != 0); \ |