pgsql: Suppress -Wunused-result warning for strtol().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Suppress -Wunused-result warning for strtol().
Date: 2016-08-16 20:14:24
Message-ID: E1bZkki-0007YU-LD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress -Wunused-result warning for strtol().

I'm not sure which bozo thought it's a problem to use strtol() only
for its endptr result, but silence the warning using same method
used elsewhere.

Report: <f845d3a6-5328-3e2a-924f-f8e91aa2b6d2(at)2ndquadrant(dot)com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4bc4cfe3bd186b4a1d1b01279bfd0e6ab11268b2

Modified Files
--------------
src/backend/utils/adt/dbsize.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-08-17 00:33:09 pgsql: Improve parsetree representation of special functions such as CU
Previous Message Tom Lane 2016-08-16 20:03:04 Re: pgsql: Remove bogus dependencies on NUMERIC_MAX_PRECISION.