summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-04-01 08:55:46 -0600
committerKarl Williamson <khw@cpan.org>2018-04-01 09:09:54 -0600
commita438847a54e7c15139cf9830f29d770ebeaa7a3c (patch)
tree2511d7170c43a2f2ad2a1a7e7a620489538deb43 /ext
parent12475f8bd9383bc7d69efa1fe98653744eb79b09 (diff)
downloadperl-a438847a54e7c15139cf9830f29d770ebeaa7a3c.tar.gz
PATCH: [perl #133405] POSIX.xs: Silence compiler warning
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/POSIX.xs2
-rw-r--r--ext/POSIX/lib/POSIX.pm2
2 files changed, 2 insertions, 2 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;
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;