diff --git a/src/ChangeLog b/src/ChangeLog index d13fbc79..d466281f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-11-24 Tim Ruehsen + + * retrc.c: Fix possibly uninitialized variable + 2014-11-24 Tim Ruehsen * warc.c, warc.h, http.c: Add size of buffer to warc_timestamp() diff --git a/src/retr.c b/src/retr.c index f4a7d524..f1599b1e 100644 --- a/src/retr.c +++ b/src/retr.c @@ -1064,7 +1064,7 @@ retrieve_from_file (const char *file, bool html, int *count) for (cur_url = url_list; cur_url; cur_url = cur_url->next, ++*count) { char *filename = NULL, *new_file = NULL, *proxy; - int dt; + int dt = 0; struct iri *tmpiri = iri_dup (iri); struct url *parsed_url = NULL;