From 1613735d08eacc4b3d21694e5010587357525ecc Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 20 Feb 2010 02:29:43 -0800 Subject: [PATCH] gamma: Silence uninitialized variable warnings. --- src/mesa/drivers/dri/gamma/gamma_tris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/gamma/gamma_tris.c b/src/mesa/drivers/dri/gamma/gamma_tris.c index b7eab34d525..babe964951b 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; -- 2.30.2