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

From Tom Lane
Subject pgsql: Suppress warning from older compilers.
Date
Msg-id E1iRN9m-0005xk-CE@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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4077e9ae150fcf0a8a8a94f50b5bbd304878fbb0

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