pgsql: Suppress warning from older compilers. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suppress warning from older compilers.
Date
Msg-id E1iRN9m-0005xf-Ao@gemulon.postgresql.org
Whole thread Raw
List 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
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6dd92138d1efd0da89e90b98bd71b76c3905f9aa

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix PG_GETARG_SEG_P() definition.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Catch invalid typlens in a couple of places