X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..92db088e5b292c1180a090ed369b9851e933e610:/lib/xgetdate.c diff --git a/lib/xgetdate.c b/lib/xgetdate.c index ae9e183..42e2d5c 100644 --- a/lib/xgetdate.c +++ b/lib/xgetdate.c @@ -119,14 +119,12 @@ xgetdate_r (const char *string, struct tm *tp, const char *const *template) { const char *line; - size_t len; char *result = NULL; time_t timer; struct tm tm; int mday_ok = 0; line = NULL; - len = 0; while((line = *template++)) { /* Do the conversion. */