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

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

Details
-------
https://git.postgresql.org/pg/commitdiff/88d03d73c22440763dbe85378fdda8389db78b0d

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