mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-01 00:58:02 +02:00
[clip] Fix uninitialised status return in _cairo_clip_intersect_mask() for empty extents.
This fixes the clip-all test case crashing for me.
This commit is contained in:
parent
f60da9a379
commit
a5c1cdf2b0
1 changed files with 1 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ _cairo_clip_intersect_mask (cairo_clip_t *clip,
|
|||
cairo_box_t extents;
|
||||
cairo_rectangle_int_t surface_rect, target_rect;
|
||||
cairo_surface_t *surface = NULL;
|
||||
cairo_status_t status;
|
||||
cairo_status_t status = CAIRO_STATUS_SUCCESS;
|
||||
|
||||
if (clip->all_clipped)
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue