diff options
author | Enrico Weigelt, metux IT consult <enrico.weigelt@gr13.net> | 2015-12-29 10:16:48 +0100 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2016-01-13 17:09:28 -0800 |
commit | 047ba66519b18b7fe0167108307d741cdc816935 (patch) | |
tree | 23bbe2d663ecae7ec9939c5c31c48e1f19bec97b | |
parent | b371b0157f8067b93c95cb535922705af5c0cd25 (diff) |
core: dropped unnecessary local variable in _cairo_composite_rectangles_intersect()
Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt@gr13.net>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
-rw-r--r-- | src/cairo-composite-rectangles.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cairo-composite-rectangles.c b/src/cairo-composite-rectangles.c index 495d20070..bc6e1f357 100644 --- a/src/cairo-composite-rectangles.c +++ b/src/cairo-composite-rectangles.c @@ -146,10 +146,8 @@ static cairo_int_status_t _cairo_composite_rectangles_intersect (cairo_composite_rectangles_t *extents, const cairo_clip_t *clip) { - cairo_bool_t ret; - - ret = _cairo_rectangle_intersect (&extents->bounded, &extents->mask); - if (! ret && extents->is_bounded & CAIRO_OPERATOR_BOUND_BY_MASK) + if ((!_cairo_rectangle_intersect (&extents->bounded, &extents->mask)) && + (extents->is_bounded & CAIRO_OPERATOR_BOUND_BY_MASK)) return CAIRO_INT_STATUS_NOTHING_TO_DO; if (extents->is_bounded == (CAIRO_OPERATOR_BOUND_BY_MASK | CAIRO_OPERATOR_BOUND_BY_SOURCE)) { |