Skip to content

Commit db27b60

Browse files
committed
Suppress warning from older compilers.
Commit 8af1624 introduced a warning about possibly returning without a value, on compilers that don't realize that ereport(ERROR) doesn't return. Tweak the code to avoid that. Per buildfarm. Back-patch to 9.6, like the aforesaid commit.
1 parent 741b1aa commit db27b60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/tsearch/spell.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,8 +1173,7 @@ getAffixFlagSet(IspellDict *Conf, char *s)
11731173
ereport(ERROR,
11741174
(errcode(ERRCODE_CONFIG_FILE_ERROR),
11751175
errmsg("invalid affix alias \"%s\"", s)));
1176-
else
1177-
return VoidString;
1176+
return VoidString;
11781177
}
11791178
else
11801179
return s;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy