[Spice-devel] [PATCH] server/red_worker: fix used but uninitialized warning (gcc 4.6.0)
Alon Levy
alevy at redhat.com
Mon Feb 7 05:11:14 PST 2011
---
server/red_worker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/red_worker.c b/server/red_worker.c
index f899ff2..f163a71 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -6219,7 +6219,7 @@ static inline int drawable_depends_on_areas(Drawable *drawable,
int i;
RedDrawable *red_drawable;
int drawable_has_shadow;
- SpiceRect shadow_rect;
+ SpiceRect shadow_rect = {0, 0, 0, 0};
red_drawable = drawable->red_drawable;
drawable_has_shadow = has_shadow(red_drawable);
--
1.7.4
More information about the Spice-devel
mailing list