Avoid a compile warning in --disable-proxy case

This commit is contained in:
Dan Fandrich 2009-03-09 04:32:51 +00:00
parent f4e8c406bb
commit a9a03b9708

View File

@ -3055,7 +3055,7 @@ static CURLcode ftp_connect(struct connectdata *conn,
bool *done) /* see description above */
{
CURLcode result;
#ifndef CURL_DISABLE_HTTP
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_PROXY)
/* for FTP over HTTP proxy */
struct HTTP http_proxy;
struct FTP *ftp_save;