mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +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:
@@ -195,14 +195,14 @@ static char *VoidString = "";
|
||||
static int
|
||||
cmpspell(const void *s1, const void *s2)
|
||||
{
|
||||
return (strcmp((*(SPELL *const *) s1)->word, (*(SPELL *const *) s2)->word));
|
||||
return strcmp((*(SPELL *const *) s1)->word, (*(SPELL *const *) s2)->word);
|
||||
}
|
||||
|
||||
static int
|
||||
cmpspellaffix(const void *s1, const void *s2)
|
||||
{
|
||||
return (strcmp((*(SPELL *const *) s1)->p.flag,
|
||||
(*(SPELL *const *) s2)->p.flag));
|
||||
return strcmp((*(SPELL *const *) s1)->p.flag,
|
||||
(*(SPELL *const *) s2)->p.flag);
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -2240,9 +2240,9 @@ NormalizeSubWord(IspellDict *Conf, char *word, int flag)
|
||||
if (cur == forms)
|
||||
{
|
||||
pfree(forms);
|
||||
return (NULL);
|
||||
return NULL;
|
||||
}
|
||||
return (forms);
|
||||
return forms;
|
||||
}
|
||||
|
||||
typedef struct SplitVar
|
||||
|
Reference in New Issue
Block a user