summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-10 20:38:21 +0000
committerCarl Worth <cworth@cworth.org>2005-05-10 20:38:21 +0000
commit4e1cce108b641fbb6931ffa1d10aa1e4aef0329c (patch)
treeaac0fcc1a7641a6a3b9dd8390153be3b89299d0f
parentb05c85eafb953fbe082b67875865ae4e4ca56ed2 (diff)
Don't use return when calling a void function (thanks to Damien Carbery <damien.carbery@sun.com>). Closes bug #3134.
-rw-r--r--ChangeLog6
-rw-r--r--src/cairo-arc.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c4dde40..d79378bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}