diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-10-27 00:00:01 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-10-27 00:00:01 +0100 |
commit | 9f503a254b0c720706124cb75922a0123f0079f0 (patch) | |
tree | f934449a5adf03077e70cc5cd480be2db373d366 | |
parent | d44b0142714041b784ffd10792318674ecb1ed56 (diff) |
ftp: Fixed compiler warning
warning: 'result' may be used uninitialized in this function
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1810,8 +1810,8 @@ static CURLcode proxy_magic(struct connectdata *conn, char *newhost, unsigned short newport, bool *magicdone) { + CURLcode result = CURLE_OK; struct SessionHandle *data=conn->data; - CURLcode result; *magicdone = FALSE; switch(conn->proxytype) { |