This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e65ef3
)
While the nan() todo remains, at least warn not.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 19 Nov 2014 00:28:32 +0000
(19:28 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 19 Nov 2014 00:29:58 +0000
(19:29 -0500)
ext/POSIX/POSIX.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.xs
b/ext/POSIX/POSIX.xs
index
4ed3855
..
1485d3d
100644
(file)
--- a/
ext/POSIX/POSIX.xs
+++ b/
ext/POSIX/POSIX.xs
@@
-2626,6
+2626,7
@@
nan(s = 0)
#ifdef c99_nan
RETVAL = c99_nan(s ? s : "");
#elif defined(NV_NAN)
+ PERL_UNUSED_VAR(s);
/* XXX if s != NULL, warn about unused argument,
* or implement the nan payload setting. */
RETVAL = NV_NAN;