summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/time.c b/time.c
index f8426adf4f..6cd6a0daff 100644
--- a/time.c
+++ b/time.c
@@ -328,11 +328,6 @@ make_time_t(tptr, utc_or_local)
tm = localtime(&guess);
if (!tm) goto error;
guess -= tm->tm_gmtoff;
- tm = localtime(&guess);
- if (!tm) goto error;
- if (tm->tm_hour != tptr->tm_hour) {
- guess += (tptr->tm_hour - tm->tm_hour)*3600;
- }
#else
struct tm gt, lt;
long tzsec;