From: Dan Fandrich Date: Mon, 9 Mar 2009 04:32:51 +0000 (+0000) Subject: Avoid a compile warning in --disable-proxy case X-Git-Tag: curl-7_19_5~280 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9a03b9708bc4f11c7178248fe14de413205c787;p=thirdparty%2Fcurl.git Avoid a compile warning in --disable-proxy case --- diff --git a/lib/ftp.c b/lib/ftp.c index 426f4af768..0e75a424d3 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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;