Remove parentheses from return statements
No reason to use "return (x);" here. Refer to the GNU coding guidelines
for details. Created using following semantic patch:
@@
expression expr;
@@
- return (expr);
+ return expr;
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -515,7 +515,7 @@ app_arg (int add_line, struct date *day, long date, int print_note,
|
||||
LLIST_TS_UNLOCK (&recur_alist_p);
|
||||
LLIST_TS_UNLOCK (&alist_p);
|
||||
|
||||
return (app_found);
|
||||
return app_found;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -815,7 +815,7 @@ parse_args (int argc, char **argv, struct conf *conf)
|
||||
{
|
||||
usage ();
|
||||
usage_try ();
|
||||
return (EXIT_FAILURE);
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user