mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +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:
@ -245,7 +245,7 @@ checkcondition_arr(void *checkval, ITEM *item)
|
||||
{
|
||||
StopMiddle = StopLow + (StopHigh - StopLow) / 2;
|
||||
if (*StopMiddle == item->val)
|
||||
return (true);
|
||||
return true;
|
||||
else if (*StopMiddle < item->val)
|
||||
StopLow = StopMiddle + 1;
|
||||
else
|
||||
@ -274,7 +274,7 @@ execute(ITEM *curitem, void *checkval, bool calcnot,
|
||||
return (*chkcond) (checkval, curitem);
|
||||
else if (curitem->val == (int32) '!')
|
||||
{
|
||||
return (calcnot) ?
|
||||
return calcnot ?
|
||||
((execute(curitem - 1, checkval, calcnot, chkcond)) ? false : true)
|
||||
: true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user