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

Remove unused variable in ftp code

* src/ftp.c (getftp): fix compiler warning for unused variable.
This commit is contained in:
Ander Juaristi 2015-12-13 16:06:53 +01:00 committed by Tim Rühsen
parent f65f522f58
commit 994c4dcce7

View File

@ -322,7 +322,6 @@ getftp (struct url *u, wgint passed_expected_bytes, wgint *qtyread,
int csock, dtsock, local_sock, res; int csock, dtsock, local_sock, res;
uerr_t err = RETROK; /* appease the compiler */ uerr_t err = RETROK; /* appease the compiler */
FILE *fp = NULL; FILE *fp = NULL;
struct_fstat st;
char *respline, *tms; char *respline, *tms;
const char *user, *passwd, *tmrate; const char *user, *passwd, *tmrate;
int cmd = con->cmd; int cmd = con->cmd;