]> granicus.if.org Git - postgresql/commit
Suppress -Wunused-result warning for strtol().
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Aug 2016 20:14:16 +0000 (16:14 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 16 Aug 2016 20:14:16 +0000 (16:14 -0400)
commitf1222ad61a362e67ebb9284d0265470d05b5e338
tree3dda67cc65eea16b1690f23762db1bd03f10b0eb
parent32b99efd6a39ca06abe0514865da5f75e2e3f69b
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>
src/backend/utils/adt/dbsize.c