mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05:00
Avoid a compile warning in --disable-proxy case
This commit is contained in:
parent
f4e8c406bb
commit
a9a03b9708
@ -3055,7 +3055,7 @@ static CURLcode ftp_connect(struct connectdata *conn,
|
|||||||
bool *done) /* see description above */
|
bool *done) /* see description above */
|
||||||
{
|
{
|
||||||
CURLcode result;
|
CURLcode result;
|
||||||
#ifndef CURL_DISABLE_HTTP
|
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_PROXY)
|
||||||
/* for FTP over HTTP proxy */
|
/* for FTP over HTTP proxy */
|
||||||
struct HTTP http_proxy;
|
struct HTTP http_proxy;
|
||||||
struct FTP *ftp_save;
|
struct FTP *ftp_save;
|
||||||
|
Loading…
Reference in New Issue
Block a user