[svn] iInitialize err in getftp to suppress gcc warning.

This commit is contained in:
hniksic 2005-02-25 14:00:18 -08:00
parent 2e48de2b01
commit 76661bdc29
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-02-25 Hrvoje Niksic <hniksic@xemacs.org>
* ftp.c (getftp): Initialize err to suppress compiler warning.
2005-02-24 Hrvoje Niksic <hniksic@xemacs.org>
* ftp.c (ftp_expected_bytes): Fix bug that caused infloop because

View File

@ -227,7 +227,7 @@ static uerr_t
getftp (struct url *u, wgint *len, wgint restval, ccon *con)
{
int csock, dtsock, local_sock, res;
uerr_t err;
uerr_t err = RETROK; /* appease the compiler */
FILE *fp;
char *user, *passwd, *respline;
char *tms, *tmrate;