diff options
author | David Mitchell <davem@iabyn.com> | 2015-11-19 10:03:04 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2015-11-19 10:30:54 +0000 |
commit | 101d63659b7355370ff8d5a0076c0e456293458e (patch) | |
tree | c792b195673b381c4d2af551dc75f9fd6a734dac /perl.c | |
parent | 83144be336909f4c030bce1df7d2a06af2f25ec6 (diff) | |
download | perl-101d63659b7355370ff8d5a0076c0e456293458e.tar.gz |
silence compiler warnings using INCMARK/POPMARK
v5.23.3-305-g6cae08a introduced debugging variants of INCMARK/POPMARK, and
replaced a number of "PL_markstack_ptr--;" with "POPMARK;" etc.
This spews a bunch of "value computed is not used" warnings; so
add some "(void)"s.
Also indent the new definitions of INCMARK/POPMARK correctly.
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2776,9 +2776,9 @@ Perl_call_sv(pTHX_ SV *sv, VOL I32 flags) } else { myop.op_other = (OP*)&myop; - POPMARK; + (void)POPMARK; create_eval_scope(flags|G_FAKINGEVAL); - INCMARK; + (void)INCMARK; JMPENV_PUSH(ret); |