mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-09 03:48:03 +02:00
[cairo-path] Return CAIRO_STATUS_SUCCESS.
If we have already returned the error status, then it is cleaner (and the common idiom) to use 'return CAIRO_STATUS_SUCCESS' rather than 'return status'.
This commit is contained in:
parent
e57df31963
commit
39664b7cac
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ _cairo_path_populate (cairo_path_t *path,
|
|||
/* Sanity check the count */
|
||||
assert (cpp.data - path->data == path->num_data);
|
||||
|
||||
return status;
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
cairo_path_t *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue