From c00206c8463e3564bde598f9aa9e8be52b3f27e3 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Mon, 24 Jan 2000 15:35:12 +0000 Subject: assorted little nits p4raw-id: //depot/perl@4882 --- mg.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mg.c') diff --git a/mg.c b/mg.c index fb2b8f173d..4274a20149 100644 --- a/mg.c +++ b/mg.c @@ -1238,7 +1238,7 @@ Perl_magic_setpos(pTHX_ SV *sv, MAGIC *mg) SV* lsv = LvTARG(sv); SSize_t pos; STRLEN len; - STRLEN ulen; + STRLEN ulen = 0; dTHR; mg = 0; @@ -1263,8 +1263,6 @@ Perl_magic_setpos(pTHX_ SV *sv, MAGIC *mg) ulen = sv_len_utf8(lsv); if (ulen) len = ulen; - else - ulen = 0; } if (pos < 0) { -- cgit v1.2.1