diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2010-06-06 21:18:40 +0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-06-10 06:42:42 -0700 |
commit | 7287ef9e6cf953066e4a092cca9d0e4a279172bf (patch) | |
tree | b67414bd69d1a1afc881e224d2f04cd495eb81d2 /mi/miarc.c | |
parent | b3a7b229e1e1f212bdd185af5443311091824005 (diff) |
Remove unnecessary parentheses around return values in functions
This patch was generated by the following Perl code:
perl -i -pe 's/([^_])return\s*\(\s*([^(]+?)\s*\)s*;(\s+(\n))?/$1return $2;$4/g;'
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'mi/miarc.c')
-rw-r--r-- | mi/miarc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/miarc.c b/mi/miarc.c index db21165df..881e0db03 100644 --- a/mi/miarc.c +++ b/mi/miarc.c @@ -1561,7 +1561,7 @@ miGetArcPts( cdt = 2 * miDcos(dt); if (!(poly = (SppPointPtr) realloc((pointer)*ppPts, (cpt + count) * sizeof(SppPointRec)))) - return(0); + return 0; *ppPts = poly; xc = parc->width/2.0; /* store half width and half height */ @@ -1598,7 +1598,7 @@ miGetArcPts( poly[cpt +i -1].y = (miDsin(st + et) * parc->height/2.0 + yc); } - return(count); + return count; } struct arcData { |