summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-12-22 14:28:40 -0800
committerVinson Lee <vlee@vmware.com>2009-12-22 14:28:40 -0800
commitc1033299e836e6a52bcd7211edb263900576e6af (patch)
tree9b8ac92043bab3704dcd7fcb6ff8da3605bce012 /src/mesa/drivers/dri
parente9b5ed1c13e64f1da0770bce08456ed44d6bb53a (diff)
ffb: Silence compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/ffb/ffb_tris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_tris.c b/src/mesa/drivers/dri/ffb/ffb_tris.c
index d785c15718..e7dd960ba1 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;
/***********************************************************************