summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-02-20 02:29:43 -0800
committerVinson Lee <vlee@vmware.com>2010-02-20 02:29:43 -0800
commit1613735d08eacc4b3d21694e5010587357525ecc (patch)
treefd3d5187078555dc65c127c891c0d6a05374b8cb /src/mesa
parentfdcad8a5831b602bd725989599ed2bab33bf9c50 (diff)
gamma: Silence uninitialized variable warnings.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/gamma/gamma_tris.c2
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;