Content-Length: 260410 | pFad | http://github.com/postgrespro/postgres/commit/db27b60f07a039e236738fe90bd4215cafd35cf2

CB Suppress warning from older compilers. · postgrespro/postgres@db27b60 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/db27b60f07a039e236738fe90bd4215cafd35cf2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy