From 255133326baa059658890b235c4286fd7e0f66d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Mon, 24 Nov 2014 12:00:21 +0100 Subject: [PATCH] Fix possibly uninitialized variable --- src/ChangeLog | 4 ++++ src/retr.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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;