From 066eb0b06d51e7ccbaea92e11de9c747314b03d6 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 1 Jul 2014 10:48:23 -0700 Subject: [PATCH] Silence time64.c build warnings. Change-Id: Ibc5672480ee5e72eedf2bc29e420315b5346b0df --- libc/bionic/time64.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/bionic/time64.c b/libc/bionic/time64.c index 7163b3494..62ee9030a 100644 --- a/libc/bionic/time64.c +++ b/libc/bionic/time64.c @@ -252,6 +252,7 @@ Time64_T timegm64(const struct TM *date) { } +#if !defined(NDEBUG) static int check_tm(struct TM *tm) { /* Don't forget leap seconds */ @@ -283,6 +284,7 @@ static int check_tm(struct TM *tm) return 1; } +#endif /* The exceptional centuries without leap years cause the cycle to