diff options
| author | Peter Eisentraut | 2017-08-17 16:39:20 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2017-09-05 18:52:55 +0000 |
| commit | 17273d059cd3a5cba818505b0d47a444c36a3513 (patch) | |
| tree | 812c47b95d279e50e5d797852edd6664f217a0c8 /src/backend/tsearch | |
| parent | ba26f5cf768a31e0cbdf5eb8675ee187ad35fd0b (diff) | |
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>
Diffstat (limited to 'src/backend/tsearch')
| -rw-r--r-- | src/backend/tsearch/spell.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/tsearch/spell.c b/src/backend/tsearch/spell.c index 10202504905..6527c737314 100644 --- a/src/backend/tsearch/spell.c +++ b/src/backend/tsearch/spell.c @@ -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 |
