summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2016-10-21 08:40:02 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2016-10-21 20:13:40 -0400
commit9ec6051125f905d725726b79ce9b4ad491cea421 (patch)
treee2d69f43fe6e6dd293c3ce777ff349efaa342d48 /ext
parentb76dad153351f50f46ba283bb0da075b93e89838 (diff)
downloadperl-9ec6051125f905d725726b79ce9b4ad491cea421.tar.gz
vax-netbsd: set the RETVAL even if unused
Diffstat (limited to 'ext')
-rw-r--r--ext/POSIX/POSIX.xs3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index e7fbecce74..a9da9730f0 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -2660,6 +2660,7 @@ getpayload(nv)
RETVAL = S_getpayload(nv);
#else
PERL_UNUSED_VAR(nv);
+ RETVAL = 0.0;
not_here("getpayload");
#endif
OUTPUT:
@@ -2704,6 +2705,7 @@ issignaling(nv)
RETVAL = Perl_isnan(nv) && NV_NAN_IS_SIGNALING(&nv);
#else
PERL_UNUSED_VAR(nv);
+ RETVAL = 0.0;
not_here("issignaling");
#endif
OUTPUT:
@@ -2934,6 +2936,7 @@ nan(payload = 0)
#ifdef NV_NAN
RETVAL = NV_NAN;
#else
+ RETVAL = 0.0;
not_here("nan");
#endif
} else {