aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-25 08:09:05 +0000
committerYang Tse <yangsita@gmail.com>2010-02-25 08:09:05 +0000
commit01fb0d8497af5465b4213fb5a6eddeab351ba8ec (patch)
tree3d7a76837466bbe3b403c684b3684fe42427137d /lib
parentcce81a7f4508fb7b80d20432341bc265f145f26c (diff)
fix compiler warning
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
1 files changed, 2 insertions, 0 deletions
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);