ftp: Fixed compiler warning
warning: 'result' may be used uninitialized in this function
This commit is contained in:
parent
d44b014271
commit
9f503a254b
@ -1810,8 +1810,8 @@ static CURLcode proxy_magic(struct connectdata *conn,
|
|||||||
char *newhost, unsigned short newport,
|
char *newhost, unsigned short newport,
|
||||||
bool *magicdone)
|
bool *magicdone)
|
||||||
{
|
{
|
||||||
|
CURLcode result = CURLE_OK;
|
||||||
struct SessionHandle *data=conn->data;
|
struct SessionHandle *data=conn->data;
|
||||||
CURLcode result;
|
|
||||||
|
|
||||||
*magicdone = FALSE;
|
*magicdone = FALSE;
|
||||||
switch(conn->proxytype) {
|
switch(conn->proxytype) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user