summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-01-14 09:52:51 +0000
committerNicholas Clark <nick@ccl4.org>2005-01-14 09:52:51 +0000
commitfb622db0657a53699cb72fa7e5cdf67e58366454 (patch)
tree92161e4c614e3a8faa927642709e9a4d952d2ebe /doop.c
parent54667de8ae602ad3606b45ba6b72a2519d132842 (diff)
downloadperl-fb622db0657a53699cb72fa7e5cdf67e58366454.tar.gz
SvUTF8_off() in do_join can be unconditional.
p4raw-id: //depot/perl@23799
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/doop.c b/doop.c
index c0c1ef4163..b1de08dfb9 100644
--- a/doop.c
+++ b/doop.c
@@ -676,8 +676,7 @@ Perl_do_join(pTHX_ register SV *sv, SV *del, register SV **mark, register SV **s
sv_setpvn(sv, "", 0);
/* sv_setpv retains old UTF8ness [perl #24846] */
- if (SvUTF8(sv))
- SvUTF8_off(sv);
+ SvUTF8_off(sv);
if (PL_tainting && SvMAGICAL(sv))
SvTAINTED_off(sv);