From: Yang Tse Date: Thu, 25 Feb 2010 08:09:05 +0000 (+0000) Subject: fix compiler warning X-Git-Tag: curl-7_20_1~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01fb0d8497af5465b4213fb5a6eddeab351ba8ec;p=thirdparty%2Fcurl.git fix compiler warning --- diff --git a/lib/http.c b/lib/http.c index 9820b8f629..b6c01395ab 100644 --- a/lib/http.c +++ b/lib/http.c @@ -3063,6 +3063,8 @@ checkprotoprefix(struct SessionHandle *data, struct connectdata *conn, #ifndef CURL_DISABLE_RTSP if(conn->protocol & PROT_RTSP) return checkrtspprefix(data, s); +#else + (void)conn; #endif /* CURL_DISABLE_RTSP */ return checkhttpprefix(data, s);