mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 06:28:01 +02:00
clip-boxes: Drop too-early return
The indentation of this line suggests it is a typo. In any case it causes the function to unconditionally return immediately, thereby shortcircuiting it entirely, which does not appear to be the intended behavior. Fixes: https://gitlab.com/cairo/cairo/issues/2
This commit is contained in:
parent
ef8c379e0f
commit
cb871c6c69
1 changed files with 0 additions and 1 deletions
|
|
@ -524,7 +524,6 @@ _cairo_clip_reduce_to_boxes (cairo_clip_t *clip)
|
||||||
cairo_clip_path_t *clip_path;
|
cairo_clip_path_t *clip_path;
|
||||||
cairo_status_t status;
|
cairo_status_t status;
|
||||||
|
|
||||||
return clip;
|
|
||||||
if (clip->path == NULL)
|
if (clip->path == NULL)
|
||||||
return clip;
|
return clip;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue