ftp: Fixed compiler warning

warning: 'result' may be used uninitialized in this function
This commit is contained in:
Steve Holme 2013-10-27 00:00:01 +01:00
parent d44b014271
commit 9f503a254b
1 changed files with 1 additions and 1 deletions

View File

@ -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) {