X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/477f956cbdc5001ac57e4ad46b760c694502929f..96f6312a0a827d2f90e7ab88d3a203c56eb82a9f:/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. */