summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorJames E Keenan <jkeenan@cpan.org>2018-09-10 20:30:11 -0400
committerJames E Keenan <jkeenan@cpan.org>2018-09-25 08:59:01 -0400
commitcf8375d194d363075850ef612316b5cac34b4218 (patch)
treeee26107962a837515f6235a5491ceafd1d04098a /dist
parent903b1101f7c2c55545e6cfd3eb5dfd564e1befd2 (diff)
downloadperl-cf8375d194d363075850ef612316b5cac34b4218.tar.gz
Avoid compiler warning showing up on darwin.
For example, in http://perl5.test-smoke.org/report/69659
Diffstat (limited to 'dist')
-rw-r--r--dist/Time-HiRes/fallback/const-c.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/Time-HiRes/fallback/const-c.inc b/dist/Time-HiRes/fallback/const-c.inc
index 2c29a0b141..99992d1762 100644
--- 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
}