aboutsummaryrefslogtreecommitdiffstats
path: root/localtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'localtime.c')
-rw-r--r--localtime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/localtime.c b/localtime.c
index 96bd1e1..dd4acc2 100644
--- a/localtime.c
+++ b/localtime.c
@@ -26,7 +26,6 @@ libsimple_localtime(struct tm *tm, struct timespec *ts)
if (!localtime_r(&timex.time.tv_sec, tm))
return -1;
tm->tm_sec += 1;
- return 1;
} else if (r == TIME_DEL) {
timex.time.tv_sec += 1;
if (!localtime_r(&timex.time.tv_sec, tm))