mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +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:
@ -528,7 +528,7 @@ gseg_binary_union(Datum r1, Datum r2, int *sizep)
|
||||
retval = DirectFunctionCall2(seg_union, r1, r2);
|
||||
*sizep = sizeof(SEG);
|
||||
|
||||
return (retval);
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
@ -1040,7 +1040,7 @@ restore(char *result, float val, int n)
|
||||
|
||||
/* ... this is not done yet. */
|
||||
}
|
||||
return (strlen(result));
|
||||
return strlen(result);
|
||||
}
|
||||
|
||||
|
||||
@ -1080,7 +1080,7 @@ significant_digits(char *s)
|
||||
}
|
||||
|
||||
if (!n)
|
||||
return (zeroes);
|
||||
return zeroes;
|
||||
|
||||
return (n);
|
||||
return n;
|
||||
}
|
||||
|
Reference in New Issue
Block a user