From: Steven Schubiger Date: Mon, 11 Oct 2010 20:46:00 +0000 (+0200) Subject: Fix compiler warning. X-Git-Tag: v1.13~95 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=af928aaaaaf8d5a9d55700a4c33d63b304d35c86 Fix compiler warning. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8d15a17d..77eeaf37 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-10-11 Steven Schubiger + + * ftp.c (getftp): Initialize `targ'. + 2010-10-08 Ivanov Anton (tiny change) * src/html-url.c (check_style_attr): Skip quotes when they are present. diff --git a/src/ftp.c b/src/ftp.c index cba54500..e90db9a8 100644 --- a/src/ftp.c +++ b/src/ftp.c @@ -503,7 +503,7 @@ Error in server response, closing control connection.\n")); logputs (LOG_VERBOSE, _("==> CWD not needed.\n")); else { - char *targ; + char *targ = NULL; int cwd_count; int cwd_end; int cwd_start;