diff options
author | David Mitchell <davem@iabyn.com> | 2013-11-12 15:51:21 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2013-11-13 10:38:40 +0000 |
commit | 03acb64848c7cc3a02259a87b82a11a401c46810 (patch) | |
tree | 1c3044ed4f9eb34769efadaef28b3cdf76323727 /op.c | |
parent | c835650ead1b96c706212d7e6d95da86cc9e8fcb (diff) | |
download | perl-03acb64848c7cc3a02259a87b82a11a401c46810.tar.gz |
silence some compiler warnings
Actually, most of this commit is adding (void) to various function returns
where we know its ok to ignore the return value. This doesn't actually
silence the -Wunused-result warning (thanks a bundle gcc), but at least
it marks our intentions.
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1964,6 +1964,8 @@ S_finalize_op(pTHX_ OP* o) } lexname = NULL; /* just to silence compiler warnings */ + fields = NULL; /* just to silence compiler warnings */ + check_fields = rop && (lexname = *av_fetch(PL_comppad_name, rop->op_targ, TRUE), |