diff options
author | Karl Williamson <khw@cpan.org> | 2018-04-01 08:55:46 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-04-01 09:09:54 -0600 |
commit | a438847a54e7c15139cf9830f29d770ebeaa7a3c (patch) | |
tree | 2511d7170c43a2f2ad2a1a7e7a620489538deb43 /ext/POSIX/POSIX.xs | |
parent | 12475f8bd9383bc7d69efa1fe98653744eb79b09 (diff) | |
download | perl-a438847a54e7c15139cf9830f29d770ebeaa7a3c.tar.gz |
PATCH: [perl #133405] POSIX.xs: Silence compiler warning
Diffstat (limited to 'ext/POSIX/POSIX.xs')
-rw-r--r-- | ext/POSIX/POSIX.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index bde6234956..bfe0d0c9a6 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -2128,7 +2128,7 @@ localeconv() && defined(HAS_POSIX_2008_LOCALE) \ && defined(HAS_LOCALECONV_L) /* Prefer this thread-safe version */ bool do_free = FALSE; - locale_t cur; + locale_t cur = NULL; # elif defined(TS_W32_BROKEN_LOCALECONV) const char * save_global; const char * save_thread; |