pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Suppress -Wunused-result warning for strtol(). 2+ messages / 1 participants [nested] [flat]
* pgsql: Suppress -Wunused-result warning for strtol(). @ 2016-08-16 20:14 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2016-08-16 20:14 UTC (permalink / raw) To: 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@2ndquadrant.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(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Suppress -Wunused-result warning for strtol(). @ 2016-08-16 20:14 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2016-08-16 20:14 UTC (permalink / raw) To: 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@2ndquadrant.com> Branch ------ REL9_6_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/f1222ad61a362e67ebb9284d0265470d05b5e338 Modified Files -------------- src/backend/utils/adt/dbsize.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-08-16 20:14 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-08-16 20:14 pgsql: Suppress -Wunused-result warning for strtol(). Tom Lane <tgl@sss.pgh.pa.us> 2016-08-16 20:14 pgsql: Suppress -Wunused-result warning for strtol(). Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox