mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-08 08:00:29 +01:00
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>
This commit is contained in:
parent
b371b0157f
commit
047ba66519
1 changed files with 2 additions and 4 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue