[PATCH] Clarify GCC pacification in previous fix
Feb. 13, 2021
6 p.m.
* zic.c (outzone): Make it clear that prevktime is initialized only to pacify GCC. --- zic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zic.c b/zic.c index a864bc4..b37cdc9 100644 --- a/zic.c +++ b/zic.c @@ -2715,7 +2715,8 @@ outzone(const struct zone *zpfirst, ptrdiff_t zonecount) for (i = 0; i < zonecount; ++i) { struct rule *prevrp = NULL; - zic_t prevktime = min_time; + zic_t prevktime; + INITIALIZE(prevktime); /* ** A guess that may well be corrected later. */ -- 2.27.0
1926
Age (days ago)
1926
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Eggert