1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Remove unused variable.

This commit is contained in:
hniksic 2005-07-05 04:44:52 -07:00
parent 41637b3cc5
commit cee40cc718
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
* cmpt.c (timegm): Remove unused variable.
2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
* cmpt.c (timegm): Don't call mktime; simply count the seconds

View File

@ -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)