Skip to content

Commit cb871c6

Browse files
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
1 parent ef8c379 commit cb871c6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cairo-clip-boxes.c

-1
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ _cairo_clip_reduce_to_boxes (cairo_clip_t *clip)
524524
cairo_clip_path_t *clip_path;
525525
cairo_status_t status;
526526

527-
return clip;
528527
if (clip->path == NULL)
529528
return clip;
530529

0 commit comments

Comments
 (0)