aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32/timegm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/timegm.c b/win32/timegm.c
index 8bfa041c4..ac39a26f5 100644
--- a/win32/timegm.c
+++ b/win32/timegm.c
@@ -42,7 +42,6 @@ static long long __year_to_secs(long long year, int *is_leap)
42 return 31536000*(y-70) + 86400*leaps; 42 return 31536000*(y-70) + 86400*leaps;
43 } 43 }
44 44
45 if (!is_leap) is_leap = &(int){0};
46 cycles = (year-100) / 400; 45 cycles = (year-100) / 400;
47 rem = (year-100) % 400; 46 rem = (year-100) % 400;
48 if (rem < 0) { 47 if (rem < 0) {