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:
903b110
)
Avoid compiler warning showing up on darwin.
author
James E Keenan
<jkeenan@cpan.org>
Tue, 11 Sep 2018 00:30:11 +0000
(20:30 -0400)
committer
James E Keenan
<jkeenan@cpan.org>
Tue, 25 Sep 2018 12:59:01 +0000
(08:59 -0400)
For example, in http://perl5.test-smoke.org/report/69659
dist/Time-HiRes/fallback/const-c.inc
patch
|
blob
|
blame
|
history
diff --git
a/dist/Time-HiRes/fallback/const-c.inc
b/dist/Time-HiRes/fallback/const-c.inc
index
2c29a0b
..
99992d1
100644
(file)
--- a/
dist/Time-HiRes/fallback/const-c.inc
+++ b/
dist/Time-HiRes/fallback/const-c.inc
@@
-361,6
+361,7
@@
constant_19 (pTHX_ const char *name, IV *iv_return) {
*iv_return = CLOCK_UPTIME_COARSE;
return PERL_constant_ISIV;
#else
+ *iv_return = 0;
return PERL_constant_NOTDEF;
#endif
}
@@
-372,6
+373,7
@@
constant_19 (pTHX_ const char *name, IV *iv_return) {
*iv_return = CLOCK_REALTIME_FAST;
return PERL_constant_ISIV;
#else
+ *iv_return = 0;
return PERL_constant_NOTDEF;
#endif
}
@@
-383,6
+385,7
@@
constant_19 (pTHX_ const char *name, IV *iv_return) {
*iv_return = CLOCK_MONOTONIC_RAW;
return PERL_constant_ISIV;
#else
+ *iv_return = 0;
return PERL_constant_NOTDEF;
#endif
}