X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/477f956cbdc5001ac57e4ad46b760c694502929f..902b9f3ff9d45ff4dccc35b1acaa3311865656ad:/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. */