diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-04 17:43:31 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-04 17:43:31 +0000 |
commit | 841d93c8bc3fdc4d8ac0ab7594ddffb71b3c4fb3 (patch) | |
tree | 80937a2ad7b7e6c1041ce29e4240f255402d3205 /op.c | |
parent | 9087a70bc7080c7618e9050f813f8109ceec197f (diff) | |
download | perl-841d93c8bc3fdc4d8ac0ab7594ddffb71b3c4fb3.tar.gz |
Quench a -Wall gripe noticed by Robin Barker.
p4raw-id: //depot/perl@11869
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |