From a438847a54e7c15139cf9830f29d770ebeaa7a3c Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 1 Apr 2018 08:55:46 -0600 Subject: PATCH: [perl #133405] POSIX.xs: Silence compiler warning --- ext/POSIX/POSIX.xs | 2 +- ext/POSIX/lib/POSIX.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext') 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; diff --git a/ext/POSIX/lib/POSIX.pm b/ext/POSIX/lib/POSIX.pm index a05ec02be2..ae33cad992 100644 --- a/ext/POSIX/lib/POSIX.pm +++ b/ext/POSIX/lib/POSIX.pm @@ -4,7 +4,7 @@ use warnings; our ($AUTOLOAD, %SIGRT); -our $VERSION = '1.83'; +our $VERSION = '1.84'; require XSLoader; -- cgit v1.2.1