diff options
author | Vinson Lee <vlee@vmware.com> | 2010-02-20 02:29:43 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-02-20 02:29:43 -0800 |
commit | 1613735d08eacc4b3d21694e5010587357525ecc (patch) | |
tree | fd3d5187078555dc65c127c891c0d6a05374b8cb | |
parent | fdcad8a5831b602bd725989599ed2bab33bf9c50 (diff) |
gamma: Silence uninitialized variable warnings.
-rw-r--r-- | src/mesa/drivers/dri/gamma/gamma_tris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/gamma/gamma_tris.c b/src/mesa/drivers/dri/gamma/gamma_tris.c index b7eab34d52..babe964951 100644 --- a/src/mesa/drivers/dri/gamma/gamma_tris.c +++ b/src/mesa/drivers/dri/gamma/gamma_tris.c @@ -323,7 +323,7 @@ do { \ #define LOCAL_VARS(n) \ gammaContextPtr gmesa = GAMMA_CONTEXT(ctx); \ - GLuint color[n]; \ + GLuint color[n] = { 0 }; \ (void) color; |