summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorMark-Jason Dominus <mjd@plover.com>2001-11-06 19:43:46 -0500
committerAbhijit Menon-Sen <ams@wiw.org>2001-11-07 05:14:04 +0000
commit0ac0412a111b224c7f0c310960dde8b2a3fdad89 (patch)
tree7c759f395b620bdec40b0538b8b9219a6011786c /op.c
parent2f7e91877d1bb8a421b887cf5759dc05d0285cb9 (diff)
downloadperl-0ac0412a111b224c7f0c310960dde8b2a3fdad89.tar.gz
Re: [ID 20011106.083] $dbline[$i] == 0 generates warnings
Message-Id: <20011107054346.14428.qmail@plover.com> p4raw-id: //depot/perl@12882
Diffstat (limited to 'op.c')
-rw-r--r--op.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/op.c b/op.c
index 55f1756440..6fbe51c3a0 100644
--- a/op.c
+++ b/op.c
@@ -3695,10 +3695,10 @@ Perl_newSTATEOP(pTHX_ I32 flags, char *label, OP *o)
if (PERLDB_LINE && PL_curstash != PL_debstash) {
SV **svp = av_fetch(CopFILEAV(PL_curcop), (I32)CopLINE(cop), FALSE);
- if (svp && *svp != &PL_sv_undef && !SvIOK(*svp)) {
- (void)SvIOK_on(*svp);
+ if (svp && *svp != &PL_sv_undef ) {
+ (void)SvIOK_on(*svp);
SvIVX(*svp) = PTR2IV(cop);
- }
+ }
}
return prepend_elem(OP_LINESEQ, (OP*)cop, o);