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