pgsql: Suppress warning from older compilers.

Lists: pgsql-committers
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress warning from older compilers.
Date: 2019-11-03 21:11:30
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-committers

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.

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d43bd9dce854ff8c2a088999dd860b05d19ebc5a

Modified Files
--------------
src/backend/tsearch/spell.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)