summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2008-01-29 15:06:55 +0000
committerSteve Hay <SteveHay@planit.com>2008-01-29 15:06:55 +0000
commit8c54174d094a78800e8ccba3f591a61aef9be2bf (patch)
treebb7eb9f6e7473315e0fac7e951b7d0371316556d /pp_ctl.c
parentc3c3bebb639496b8bdce5d7c639ea5632d85fc99 (diff)
downloadperl-8c54174d094a78800e8ccba3f591a61aef9be2bf.tar.gz
Fix Win32 compiler warnings introduced by #33081 and #33085
p4raw-id: //depot/perl@33106
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index ff7934936f..86c5074da2 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -1838,6 +1838,8 @@ PP(pp_enteriter)
U8 cxtype = CXt_LOOP_FOR;
#ifdef USE_ITHREADS
PAD *iterdata;
+#else
+ PADOFFSET op;
#endif
ENTER;
@@ -1875,7 +1877,8 @@ PP(pp_enteriter)
#ifdef USE_ITHREADS
PUSHLOOP_FOR(cx, iterdata, MARK, PL_op->op_targ);
#else
- PUSHLOOP_FOR(cx, svp, MARK, /*Not used*/);
+ PERL_UNUSED_VAR(op);
+ PUSHLOOP_FOR(cx, svp, MARK, op/*Not used*/);
#endif
if (PL_op->op_flags & OPf_STACKED) {
SV *maybe_ary = POPs;