From cee40cc7183767a9feb2fbfd101d7730f599de43 Mon Sep 17 00:00:00 2001 From: hniksic Date: Tue, 5 Jul 2005 04:44:52 -0700 Subject: [PATCH] [svn] Remove unused variable. --- src/ChangeLog | 4 ++++ src/cmpt.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 3143b83b..0148aa52 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-07-05 Hrvoje Niksic + + * cmpt.c (timegm): Remove unused variable. + 2005-07-05 Hrvoje Niksic * cmpt.c (timegm): Don't call mktime; simply count the seconds diff --git a/src/cmpt.c b/src/cmpt.c index 3e80f782..56ff5a14 100644 --- a/src/cmpt.c +++ b/src/cmpt.c @@ -1241,7 +1241,7 @@ timegm (struct tm *t) { 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 } }; unsigned long secs; - int year, days; + int days; /* Only handles years between 1970 and 2099. */ if (t->tm_year < 70 || t->tm_year > 129)