summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-05-31 22:57:21 +0100
committerDavid Mitchell <davem@iabyn.com>2013-06-02 22:28:55 +0100
commitf7c7e32a45f023c8046ae1bacda1a9568fcfe755 (patch)
tree045ac3144e319d9fccf37b04eac05d5e0d64873c /sv.c
parentb3d298be91e6629f3ce52b46c746fbe982114323 (diff)
downloadperl-f7c7e32a45f023c8046ae1bacda1a9568fcfe755.tar.gz
eliminate PL_regdummy
This global (per-interpreter) var is just used during regex compilation as a placeholder to point RExC_emit at during the first (non-emitting) pass, to indicate to not to emit anything. There's no need for it to be a global var: just add it as an extra field in the RExC_state_t struct instead.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 98a6b3646f..8cd2cb2e1c 100644
--- a/sv.c
+++ b/sv.c
@@ -13312,7 +13312,6 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
/* regex stuff */
- PL_regdummy = proto_perl->Iregdummy;
PL_colorset = 0; /* reinits PL_colors[] */
/*PL_colors[6] = {0,0,0,0,0,0};*/