This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97d658
)
Declarations must come first, or some compilers aren't happy.
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sun, 20 Nov 2005 12:10:15 +0000
(12:10 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
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 );
}