From: Vinson Lee Date: Tue, 22 Dec 2009 22:28:40 +0000 (-0800) Subject: ffb: Silence compiler warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1033299e836e6a52bcd7211edb263900576e6af;p=mesa.git ffb: Silence compiler warnings. --- diff --git a/src/mesa/drivers/dri/ffb/ffb_tris.c b/src/mesa/drivers/dri/ffb/ffb_tris.c index d785c157181..e7dd960ba16 100644 --- a/src/mesa/drivers/dri/ffb/ffb_tris.c +++ b/src/mesa/drivers/dri/ffb/ffb_tris.c @@ -352,7 +352,7 @@ static struct { #define LOCAL_VARS(n) \ ffbContextPtr fmesa = FFB_CONTEXT(ctx); \ __DRIdrawablePrivate *dPriv = fmesa->driDrawable; \ - ffb_color color[n]; \ + ffb_color color[n] = { { 0 } }; \ (void) color; (void) dPriv; /***********************************************************************