pgsql: Suppress compiler warning about no function return value.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress compiler warning about no function return value.
Date: 2017-12-17 05:42:20
Message-ID: E1eQRiO-0005ZM-OR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2017-12-17 07:00:31 Re: pgsql: Provide overflow safe integer math inline functions.
Previous Message Tom Lane 2017-12-17 01:48:32 Re: pgsql: Provide overflow safe integer math inline functions.