mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-06 13:36:55 +02:00
Suppress warning from older compilers.
Commit 8af1624e3
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.
This commit is contained in:
parent
65cdf8bc1b
commit
88d03d73c2
@ -1173,7 +1173,6 @@ getAffixFlagSet(IspellDict *Conf, char *s)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_CONFIG_FILE_ERROR),
|
||||
errmsg("invalid affix alias \"%s\"", s)));
|
||||
else
|
||||
return VoidString;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user