1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

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

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