Commit db27b60f authored by Tom Lane's avatar Tom Lane

Suppress warning from older compilers.

Commit 8af1624e 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.
parent 741b1aaf
......@@ -1173,8 +1173,7 @@ getAffixFlagSet(IspellDict *Conf, char *s)
ereport(ERROR,
(errcode(ERRCODE_CONFIG_FILE_ERROR),
errmsg("invalid affix alias \"%s\"", s)));
else
return VoidString;
return VoidString;
}
else
return s;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment