This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use PERL_UNUSED_RESULT.
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 31 May 2014 20:56:00 +0000 (16:56 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 2 Jun 2014 12:15:27 +0000 (08:15 -0400)
commitb469f1e0fc5f0ac882161e627a1255ee11e67c37
treeea5f4b46c4b6fbe58ded80930b2f5d0aae02d3d0
parent0c2c57a86cc6ec5688af5df66a8b8929f97ac491
Use PERL_UNUSED_RESULT.

(1) Enhance its description.
(2) Simplify it: define only if has warn_unused_result.
(3) Make it use STMT_START { ... } STMT_END to be less GNU-extensiony.
(4) Redo 04783dc7 ("fix 'ignoring return value' compiler warnings") with it.
doio.c
ext/SDBM_File/sdbm/sdbm.c
mg.c
perl.h
perlio.c
pp_hot.c
thread.h
util.c