From 38b658cbdd0b78ec7ddaaec926c7d43829363fc9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 29 Aug 1999 12:55:35 +0000 Subject: [PATCH] (get_date): Rename latter local `tm' to probe_tm. --- lib/getdate.y | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/getdate.y b/lib/getdate.y index b95f5641cf..c29c6c77c9 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -880,14 +880,14 @@ get_date (const char *p, const time_t *now) for (quarter = 1; quarter <= 3; quarter++) { time_t probe = Start + quarter * (90 * 24 * 60 * 60); - struct tm *tm = localtime (&probe); - if (tm && tm->tm_zone - && tm->tm_isdst != pc.local_time_zone_table[0].value) + struct tm *probe_tm = localtime (&probe); + if (probe_tm && probe_tm->tm_zone + && probe_tm->tm_isdst != pc.local_time_zone_table[0].value) { { - pc.local_time_zone_table[1].name = tm->tm_zone; + pc.local_time_zone_table[1].name = probe_tm->tm_zone; pc.local_time_zone_table[1].type = tLOCAL_ZONE; - pc.local_time_zone_table[1].value = tm->tm_isdst; + pc.local_time_zone_table[1].value = probe_tm->tm_isdst; pc.local_time_zone_table[2].name = 0; } break; -- 2.30.2