From a9a03b9708bc4f11c7178248fe14de413205c787 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 9 Mar 2009 04:32:51 +0000 Subject: Avoid a compile warning in --disable-proxy case --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ftp.c b/lib/ftp.c index 426f4af76..0e75a424d 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; -- cgit v1.2.3