* localtime.c (localsub): Don’t decrement seconds.
Although this may have been needed originally,
it is no longer needed now that years_of_observations
is 2 greater than YEARSPERREPEAT.
---
localtime.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/localtime.c b/localtime.c
index c2d58027..06cffbe5 100644
--- a/localtime.c
+++ b/localtime.c
@@ -2071,7 +2071,6 @@ localsub(struct state const *sp, time_t const *timep,
int_fast32_t setname,
if (t < sp->ats[0])
seconds = sp->ats[0] - t;
else seconds = t - sp->ats[sp->timecnt - 1];
- --seconds;
/* Beware integer overflow, as SECONDS might
be close to the maximum time_t. */
--
2.55.0