diff options
author | Carl Worth <cworth@cworth.org> | 2005-05-10 20:38:21 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-05-10 20:38:21 +0000 |
commit | 4e1cce108b641fbb6931ffa1d10aa1e4aef0329c (patch) | |
tree | aac0fcc1a7641a6a3b9dd8390153be3b89299d0f | |
parent | b05c85eafb953fbe082b67875865ae4e4ca56ed2 (diff) |
Don't use return when calling a void function (thanks to Damien Carbery <damien.carbery@sun.com>). Closes bug #3134.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/cairo-arc.c | 8 |
2 files changed, 10 insertions, 4 deletions
@@ -1,5 +1,11 @@ 2005-05-10 Carl Worth <cworth@cworth.org> + * src/cairo-arc.c (_cairo_arc_path_negative): Don't use return + when calling a void function (thanks to Damien Carbery + <damien.carbery@sun.com>). Closes bug #3134. + +2005-05-10 Carl Worth <cworth@cworth.org> + * test/cairo-test.c: * test/cairo-test.h: Removing mucking around with stderr and add a cairo_test_log function instead. diff --git a/src/cairo-arc.c b/src/cairo-arc.c index 2e6c6895..d3302cdd 100644 --- a/src/cairo-arc.c +++ b/src/cairo-arc.c @@ -289,8 +289,8 @@ _cairo_arc_path_negative (cairo_t *cr, double angle1, double angle2) { - return _cairo_arc_in_direction (cr, xc, yc, - radius, - angle2, angle1, - CAIRO_DIRECTION_REVERSE); + _cairo_arc_in_direction (cr, xc, yc, + radius, + angle2, angle1, + CAIRO_DIRECTION_REVERSE); } |