bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH] Silence compiler warning


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [PATCH] Silence compiler warning
Date: Mon, 11 Oct 2010 22:48:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

committed!

Thanks,
Giuseppe



Steven Schubiger <address@hidden> writes:

> ftp.c: In function 'getftp':
> ftp.c:506: warning: 'targ' may be used uninitialized in this function
>
> === modified file 'src/ftp.c'
> --- src/ftp.c 2010-09-29 11:34:09 +0000
> +++ src/ftp.c 2010-10-11 13:29:34 +0000
> @@ -503,7 +503,7 @@
>          logputs (LOG_VERBOSE, _("==> CWD not needed.\n"));
>        else
>          {
> -          char *targ;
> +          char *targ = NULL;
>         int cwd_count;
>         int cwd_end;
>         int cwd_start;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]