mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Remove unnecessary parentheses in return statements
The parenthesized style has only been used in a few modules. Change that to use the style that is predominant across the whole tree. Reviewed-by: Michael Paquier <michael.paquier@gmail.com> Reviewed-by: Ryan Murphy <ryanfmurphy@gmail.com>
This commit is contained in:
@@ -137,7 +137,7 @@ main(int argc, char *const argv[])
|
||||
if (find_my_exec(argv[0], my_exec_path) < 0)
|
||||
{
|
||||
fprintf(stderr, _("%s: could not locate my own executable path\n"), argv[0]);
|
||||
return (ILLEGAL_OPTION);
|
||||
return ILLEGAL_OPTION;
|
||||
}
|
||||
|
||||
if (argc > 1)
|
||||
@@ -266,7 +266,7 @@ main(int argc, char *const argv[])
|
||||
{
|
||||
fprintf(stderr, _("%s: no input files specified\n"), progname);
|
||||
fprintf(stderr, _("Try \"%s --help\" for more information.\n"), argv[0]);
|
||||
return (ILLEGAL_OPTION);
|
||||
return ILLEGAL_OPTION;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user