X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/812b526d127c6657e571db8b33a58137af6709cd..0a066775fe988ab36bd72583cf34d14784039fe3:/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. */