diff options
author | Vinson Lee <[email protected]> | 2009-12-27 22:39:31 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-27 22:39:31 -0800 |
commit | bf63b9d7a942bfbeef0b2b765bfc346c93de6fb7 (patch) | |
tree | 45d63c739b5d6eb77b8064ec3e91a70aef28ea58 /src/gallium/state_trackers/vega/stroker.c | |
parent | 9d3092d1344cac0dafaa4b39d09d987812751e40 (diff) |
st/vega: Silence compiler warnings.
Diffstat (limited to 'src/gallium/state_trackers/vega/stroker.c')
-rw-r--r-- | src/gallium/state_trackers/vega/stroker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/stroker.c b/src/gallium/state_trackers/vega/stroker.c index 1b92d2b5c62..68a52029db0 100644 --- a/src/gallium/state_trackers/vega/stroker.c +++ b/src/gallium/state_trackers/vega/stroker.c @@ -476,7 +476,7 @@ static enum intersection_type line_intersect(const VGfloat *l1, const VGfloat *l2, float *intersection_point) { - VGfloat isect[2]; + VGfloat isect[2] = { 0 }; enum intersection_type type; VGboolean dx_zero, ldx_zero; @@ -649,7 +649,7 @@ static void create_joins(struct stroker *stroker, VGfloat prev_line[] = {stroker->back2_x, stroker->back2_y, stroker->back1_x, stroker->back1_y}; - VGfloat isect[2]; + VGfloat isect[2] = { 0 }; enum intersection_type type = line_intersect(prev_line, next_line, isect); if (join == SquareJoin) { |