From 18984c14b373cb9ef631091f5c5e151e9b0971f0 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Sun, 22 Jan 2012 22:56:50 -0800 Subject: universal.c:XS_utf8_decode: rmv redundant code SvPV_force_nolen already calls sv_force_normal for us. --- universal.c | 1 - 1 file changed, 1 deletion(-) (limited to 'universal.c') diff --git a/universal.c b/universal.c index f6da76d859..463651bb73 100644 --- a/universal.c +++ b/universal.c @@ -812,7 +812,6 @@ XS(XS_utf8_decode) else { SV * const sv = ST(0); bool RETVAL; - if (SvREADONLY(sv)) sv_force_normal(sv); SvPV_force_nolen(sv); RETVAL = sv_utf8_decode(sv); ST(0) = boolSV(RETVAL); -- cgit v1.2.1