projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ec7303
)
Cpp out deadcode that IRIX compiler noticed.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 11 Mar 2000 00:45:46 +0000
(
00:45
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 11 Mar 2000 00:45:46 +0000
(
00:45
+0000)
p4raw-id: //depot/cfgperl@5638
regcomp.c
patch
|
blob
|
history
diff --git
a/regcomp.c
b/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;