From 9e2aa2e752c28a617095075e3f2a3505f0c0971a Mon Sep 17 00:00:00 2001 From: Yves Orton Date: Wed, 19 Oct 2016 11:14:27 +0200 Subject: [PATCH] utf8.c: use new SvPVCLEAR and constant string friendly macros --- utf8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utf8.c b/utf8.c index 8646323..d7450d7 100644 --- a/utf8.c +++ b/utf8.c @@ -4693,7 +4693,7 @@ Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV f PERL_ARGS_ASSERT_PV_UNI_DISPLAY; - sv_setpvs(dsv, ""); + SvPVCLEAR(dsv); SvUTF8_off(dsv); for (s = (const char *)spv, e = s + len; s < e; s += UTF8SKIP(s)) { UV u; -- 1.8.3.1