summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
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);