summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-06-26 06:28:40 -0600
committerKarl Williamson <khw@cpan.org>2022-06-27 08:06:07 -0600
commit36540e72e5ebd2d98e8833f34b1b25b20553e7cd (patch)
tree891d8e6d0b69db6b3cdcceb95a09270da24708f7 /locale.c
parent6a7aca81ca553c1c29a8288d196211f1b7712c50 (diff)
downloadperl-36540e72e5ebd2d98e8833f34b1b25b20553e7cd.tar.gz
locale.c: Silence compiler warning
At least one compiler warns that 'this_start' may be uninitialized. It shouldn't actually happen, but easy enough to initialize to an illegal value.
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale.c b/locale.c
index 3a8fe657b0..314fd48979 100644
--- a/locale.c
+++ b/locale.c
@@ -1152,7 +1152,7 @@ S_calculate_LC_ALL(pTHX_ const char ** individ_locales)
bool are_all_categories_the_same_locale = TRUE;
char * aggregate_locale;
char * previous_start = NULL;
- char * this_start;
+ char * this_start = NULL;
Size_t entry_len = 0;
PERL_ARGS_ASSERT_CALCULATE_LC_ALL;