server/red_worker: fix used but uninitialized warning (gcc 4.6.0)

This commit is contained in:
Alon Levy 2011-02-07 15:10:36 +02:00
parent 504306681c
commit 9de4c94a5d

View File

@ -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);