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:
9087a70
)
Quench a -Wall gripe noticed by Robin Barker.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 4 Sep 2001 17:43:31 +0000
(17:43 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 4 Sep 2001 17:43:31 +0000
(17:43 +0000)
p4raw-id: //depot/perl@11869
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
88646a2
..
329a9b7
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-6653,7
+6653,7
@@
Perl_ck_subr(pTHX_ OP *o)
switch (*proto++) {
case '[':
if (contextclass++ == 0) {
- e = strchr(proto, ']');
+ e = strchr(proto, ']');
if (!e || e == proto)
goto oops;
}
@@
-6712,7
+6712,7
@@
Perl_ck_subr(pTHX_ OP *o)
o2->op_sibling = sib;
prev->op_sibling = o2;
}
- if (contextclass) {
+ if (contextclass
&& e
) {
proto = e + 1;
contextclass = 0;
}