summaryrefslogtreecommitdiff
path: root/src/cairo-path.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-10-30 11:01:40 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2007-10-30 11:01:40 +0000
commit39664b7cac7244ac901cb361442ca2967d74a542 (patch)
tree72744bc96b6473fd575528510ce5a3625fff496e /src/cairo-path.c
parente57df319633f8ebd0249096d76c9058f31f9835b (diff)
downloadcairo-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.c2
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 *