aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-10-27 00:00:01 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-10-27 00:00:01 +0100
commit9f503a254b0c720706124cb75922a0123f0079f0 (patch)
treef934449a5adf03077e70cc5cd480be2db373d366 /lib
parentd44b0142714041b784ffd10792318674ecb1ed56 (diff)
ftp: Fixed compiler warning
warning: 'result' may be used uninitialized in this function
Diffstat (limited to 'lib')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 487f9d5a4..e66a8a808 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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) {