From 39664b7cac7244ac901cb361442ca2967d74a542 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 30 Oct 2007 11:01:40 +0000 Subject: [PATCH] [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'. --- src/cairo-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 *