Don't use return when calling a void function (thanks to Damien Carbery <damien.carbery@sun.com>). Closes bug #3134.

This commit is contained in:
Carl Worth 2005-05-10 20:38:21 +00:00
parent b05c85eafb
commit 4e1cce108b
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,9 @@
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:

View file

@ -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);
}