Skip to content

Commit

Permalink
sv.c: Rmv redundant clause
Browse files Browse the repository at this point in the history
If threaded locales are being used, basic locales are too.  No need to
check both
  • Loading branch information
khwilliamson committed May 9, 2021
1 parent 5d61dcb commit 932f250
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sv.c
Expand Up @@ -15339,7 +15339,8 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,

/* Did the locale setup indicate UTF-8? */
PL_utf8locale = proto_perl->Iutf8locale;
#if defined(USE_LOCALE) && defined(USE_LOCALE_THREADS)

#if defined(USE_LOCALE_THREADS)
assert(PL_locale_mutex_depth <= 0);
PL_locale_mutex_depth = 0;
#endif
Expand Down

0 comments on commit 932f250

Please sign in to comment.