summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-03-11 00:45:46 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-03-11 00:45:46 +0000
commit85ddcde952b37a5319c8d00206e6f646bfb1faca (patch)
tree48ff2f1850649609e6d210ce11f4dcbb16cfd339 /regcomp.c
parent5ec7303013a96b8a72e717d9424dfb663b238cd2 (diff)
downloadperl-85ddcde952b37a5319c8d00206e6f646bfb1faca.tar.gz
Cpp out deadcode that IRIX compiler noticed.
p4raw-id: //depot/cfgperl@5638
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index 9768d18c93..9fbb3df20e 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -1359,7 +1359,10 @@ Perl_pregcomp(pTHX_ char *exp, char *xend, PMOP *pm)
PL_regsize = 0L;
PL_regcode = &PL_regdummy;
PL_reg_whilem_seen = 0;
+#if 0 /* REGC() is (currently) a NOP at the first pass.
+ * Clever compilers notice this and complain. --jhi */
REGC((U8)REG_MAGIC, (char*)PL_regcode);
+#endif
if (reg(0, &flags) == NULL) {
Safefree(PL_regprecomp);
PL_regprecomp = Nullch;