From 9f503a254b0c720706124cb75922a0123f0079f0 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 27 Oct 2013 00:00:01 +0100 Subject: [PATCH] ftp: Fixed compiler warning warning: 'result' may be used uninitialized in this function --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {