1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix possibly uninitialized variable

This commit is contained in:
Tim Rühsen 2014-11-24 12:00:21 +01:00
parent 0c18773308
commit 255133326b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-11-24 Tim Ruehsen <tim.ruehsen@gmx.de>
* retrc.c: Fix possibly uninitialized variable
2014-11-24 Tim Ruehsen <tim.ruehsen@gmx.de> 2014-11-24 Tim Ruehsen <tim.ruehsen@gmx.de>
* warc.c, warc.h, http.c: Add size of buffer to warc_timestamp() * warc.c, warc.h, http.c: Add size of buffer to warc_timestamp()

View File

@ -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) for (cur_url = url_list; cur_url; cur_url = cur_url->next, ++*count)
{ {
char *filename = NULL, *new_file = NULL, *proxy; char *filename = NULL, *new_file = NULL, *proxy;
int dt; int dt = 0;
struct iri *tmpiri = iri_dup (iri); struct iri *tmpiri = iri_dup (iri);
struct url *parsed_url = NULL; struct url *parsed_url = NULL;