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>
This commit is contained in:
Mikhail Gusarov 2010-06-06 21:18:40 +07:00 • committed by Keith Packard
commit 7287ef9e6c
145 changed files with 847 additions and 847 deletions

View file

@ -117,7 +117,7 @@ xnestGetImage(DrawablePtr pDrawable, int x, int y, int w, int h,
static Bool
xnestBitBlitPredicate(Display *display, XEvent *event, char *args)
{
return (event->type == GraphicsExpose || event->type == NoExpose);
return event->type == GraphicsExpose || event->type == NoExpose;
}
static RegionPtr
@ -158,7 +158,7 @@ xnestBitBlitHelper(GCPtr pGC)
RegionDestroy(pTmpReg);
RegionValidate(pReg, &overlap);
return(pReg);
return pReg;
}
}