Cpp out deadcode that IRIX compiler noticed.
authorJarkko Hietaniemi <jhi@iki.fi>
Sat, 11 Mar 2000 00:45:46 +0000 (00:45 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 11 Mar 2000 00:45:46 +0000 (00:45 +0000)
p4raw-id: //depot/cfgperl@5638

regcomp.c

index 9768d18..9fbb3df 100644 (file)
--- 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;