Module: Mesa
Branch: mesa_7_6_branch
Commit: c1033299e836e6a52bcd7211edb263900576e6af
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1033299e836e6a52bcd7211edb263900576e6af

Author: Vinson Lee <[email protected]>
Date:   Tue Dec 22 14:28:40 2009 -0800

ffb: Silence compiler warnings.

---

 src/mesa/drivers/dri/ffb/ffb_tris.c |    2 +-
 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 d785c15..e7dd960 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;
 
 /***********************************************************************

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to