diff options
author | Karl Williamson <khw@cpan.org> | 2022-06-26 06:28:40 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-27 08:06:07 -0600 |
commit | 36540e72e5ebd2d98e8833f34b1b25b20553e7cd (patch) | |
tree | 891d8e6d0b69db6b3cdcceb95a09270da24708f7 /locale.c | |
parent | 6a7aca81ca553c1c29a8288d196211f1b7712c50 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |