From 01fb0d8497af5465b4213fb5a6eddeab351ba8ec Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 25 Feb 2010 08:09:05 +0000 Subject: fix compiler warning --- lib/http.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/http.c b/lib/http.c index 9820b8f62..b6c01395a 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); -- cgit v1.2.3