diff options
author | Bryce Harrington <bryce@bryceharrington.org> | 2019-01-31 17:20:50 -0800 |
---|---|---|
committer | Bryce Harrington <bryce@bryceharrington.org> | 2019-01-31 17:24:05 -0800 |
commit | cb871c6c692af68d8e0bf9e26472af45435f8a2c (patch) | |
tree | 9156174ace8ea2f48f6f2e179c940a7c734921bb | |
parent | ef8c379e0f560ced63c2a07566a3a7d608e3996c (diff) |
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
-rw-r--r-- | src/cairo-clip-boxes.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cairo-clip-boxes.c b/src/cairo-clip-boxes.c index aaddeb7f7..d6e29fa3a 100644 --- a/src/cairo-clip-boxes.c +++ b/src/cairo-clip-boxes.c @@ -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; |