]> granicus.if.org Git - curl/commitdiff
fix compiler warning
authorYang Tse <yangsita@gmail.com>
Thu, 25 Feb 2010 08:09:05 +0000 (08:09 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 25 Feb 2010 08:09:05 +0000 (08:09 +0000)
lib/http.c

index 9820b8f629cb9867195c65e960364de92a5af92e..b6c01395ab2187ebe4260e4363c0211880b52ac6 100644 (file)
@@ -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);