diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-10-30 11:01:40 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2007-10-30 11:01:40 +0000 |
commit | 39664b7cac7244ac901cb361442ca2967d74a542 (patch) | |
tree | 72744bc96b6473fd575528510ce5a3625fff496e /src/cairo-path.c | |
parent | e57df319633f8ebd0249096d76c9058f31f9835b (diff) | |
download | cairo-39664b7cac7244ac901cb361442ca2967d74a542.tar.gz |
[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'.
Diffstat (limited to 'src/cairo-path.c')
-rw-r--r-- | src/cairo-path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-path.c b/src/cairo-path.c index 9c18b8df9..b9086c4db 100644 --- a/src/cairo-path.c +++ b/src/cairo-path.c @@ -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 * |