Mesa (mesa_7_7_branch): softpipe: Silence unintialized variable warnings.
Vinson Lee
vlee at kemper.freedesktop.org
Mon Dec 28 02:06:35 UTC 2009
Module: Mesa
Branch: mesa_7_7_branch
Commit: 3a2f96f18aab60ed061339f74792307964c284a2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3a2f96f18aab60ed061339f74792307964c284a2
Author: Vinson Lee <vlee at vmware.com>
Date: Sun Dec 27 18:06:02 2009 -0800
softpipe: Silence unintialized variable warnings.
---
src/gallium/drivers/softpipe/sp_quad_blend.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c
index fe6b6ce..d9babe8 100644
--- a/src/gallium/drivers/softpipe/sp_quad_blend.c
+++ b/src/gallium/drivers/softpipe/sp_quad_blend.c
@@ -229,7 +229,7 @@ blend_quad(struct quad_stage *qs,
static const float zero[4] = { 0, 0, 0, 0 };
static const float one[4] = { 1, 1, 1, 1 };
struct softpipe_context *softpipe = qs->softpipe;
- float source[4][QUAD_SIZE];
+ float source[4][QUAD_SIZE] = { { 0 } };
/*
* Compute src/first term RGB
More information about the mesa-commit
mailing list