summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-08-17 07:52:57 +0100
committerDavid Mitchell <davem@iabyn.com>2016-08-17 07:54:05 +0100
commit6ffb8402de3d7395c1145d4c773b8536ff0454b2 (patch)
tree7aa751e9a9c3d27452db899c42db412bbd1b19ad /scope.c
parentcf8db57b138fa07b34eff3066c16fa1bf0afdf63 (diff)
downloadperl-6ffb8402de3d7395c1145d4c773b8536ff0454b2.tar.gz
add any_op field to the ANY savestack union
This is an attempt to silence a (probably spurious) Coverity warning.
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index ff84e64e17..ba0f26378e 100644
--- a/scope.c
+++ b/scope.c
@@ -1106,7 +1106,7 @@ Perl_leave_scope(pTHX_ I32 base)
case SAVEt_FREEOP:
a0 = ap[0];
ASSERT_CURPAD_LEGAL("SAVEt_FREEOP");
- op_free((OP*)a0.any_ptr);
+ op_free(a0.any_op);
break;
case SAVEt_FREEPV: