summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-11-19 10:03:04 +0000
committerDavid Mitchell <davem@iabyn.com>2015-11-19 10:30:54 +0000
commit101d63659b7355370ff8d5a0076c0e456293458e (patch)
treec792b195673b381c4d2af551dc75f9fd6a734dac /perl.c
parent83144be336909f4c030bce1df7d2a06af2f25ec6 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl.c b/perl.c
index 8182562cdf..b8d98ff04b 100644
--- a/perl.c
+++ b/perl.c
@@ -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);