diff options
author | Carl Worth <cworth@cworth.org> | 2007-04-09 17:16:30 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2007-04-09 17:16:30 -0700 |
commit | 7c97696af98a6dab9e0c5cdc72ff08c19892c95f (patch) | |
tree | a46a1f058aa2474c98136efa22b736e028d28732 /src/cairo-path-bounds.c | |
parent | 93776772edbadeab90ea199a115750310be91e4e (diff) | |
download | cairo-7c97696af98a6dab9e0c5cdc72ff08c19892c95f.tar.gz |
Make _cairo_path_bounder_add_point void
Yet another function that cannot fail under any circumstances.
Diffstat (limited to 'src/cairo-path-bounds.c')
-rw-r--r-- | src/cairo-path-bounds.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cairo-path-bounds.c b/src/cairo-path-bounds.c index 48b4393a7..5b60cf1c3 100644 --- a/src/cairo-path-bounds.c +++ b/src/cairo-path-bounds.c @@ -51,7 +51,7 @@ _cairo_path_bounder_init (cairo_path_bounder_t *bounder); static void _cairo_path_bounder_fini (cairo_path_bounder_t *bounder); -static cairo_status_t +static void _cairo_path_bounder_add_point (cairo_path_bounder_t *bounder, cairo_point_t *point); static cairo_status_t @@ -81,7 +81,7 @@ _cairo_path_bounder_fini (cairo_path_bounder_t *bounder) bounder->has_point = 0; } -static cairo_status_t +static void _cairo_path_bounder_add_point (cairo_path_bounder_t *bounder, cairo_point_t *point) { if (bounder->has_point) { @@ -104,8 +104,6 @@ _cairo_path_bounder_add_point (cairo_path_bounder_t *bounder, cairo_point_t *poi bounder->has_point = 1; } - - return CAIRO_STATUS_SUCCESS; } static cairo_status_t |