pgsql: Suppress compiler warning about no function return value. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suppress compiler warning about no function return value.
Date
Msg-id E1eQRiO-0005ZM-OR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Suppress compiler warning about no function return value.

Compilers that don't know that ereport(ERROR) doesn't return
complained about the new coding in scanint8() introduced by
commit 101c7ee3e.  Tweak coding to avoid the warning.
Per buildfarm.

Branch
------
master

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

Modified Files
--------------
src/backend/utils/adt/int8.c | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Provide overflow safe integer math inline functions.
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Provide overflow safe integer math inline functions.