projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f97d658
)
Declarations must come first, or some compilers aren't happy.
Rafael Garcia-Suarez [Sun, 20 Nov 2005 12:10:15 +0000 (12:10 +0000)]
(spotted by Jarkko)
p4raw-id: //depot/perl@26179
ext/B/B.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/B/B.xs
b/ext/B/B.xs
index
6b3d64c
..
04422b3
100644
(file)
--- a/
ext/B/B.xs
+++ b/
ext/B/B.xs
@@
-1322,8
+1322,8
@@
precomp(mg)
B::MAGIC mg
CODE:
if (mg->mg_type == 'r') {
- RETVAL = Nullsv;
REGEXP* rx = (REGEXP*)mg->mg_obj;
+ RETVAL = Nullsv;
if( rx )
RETVAL = newSVpvn( rx->precomp, rx->prelen );
}