Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-10-20 11:30:17 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-10-20 11:30:17 +0400
commit2a126568addbc7a775d8c68f34d29a8bfdfaa9f3 (patch)
tree96481066714ad4d5d1fc0fe76a8a93575c63ca30 /newlib/libc
parentcc5a7d7519f6e18247e2c301dcf48a9b9417caaf (diff)
* libc/time/gmtime_r.c (gmtime_r): Remove dead code.
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/time/gmtime_r.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/newlib/libc/time/gmtime_r.c b/newlib/libc/time/gmtime_r.c
index 1111cbc0e..8944845b0 100644
--- a/newlib/libc/time/gmtime_r.c
+++ b/newlib/libc/time/gmtime_r.c
@@ -47,11 +47,6 @@ _DEFUN (gmtime_r, (tim_p, res),
rem += SECSPERDAY;
--days;
}
- while (rem >= SECSPERDAY)
- {
- rem -= SECSPERDAY;
- ++days;
- }
/* compute hour, min, and sec */
res->tm_hour = (int) (rem / SECSPERHOUR);