Commit cb871c6c authored by Bryce Harrington's avatar Bryce Harrington

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
parent ef8c379e
Pipeline #17184 failed with stage
in 53 seconds
......@@ -524,7 +524,6 @@ _cairo_clip_reduce_to_boxes (cairo_clip_t *clip)
cairo_clip_path_t *clip_path;
cairo_status_t status;
return clip;
if (clip->path == NULL)
return clip;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment