Fixed compilation when RTSP is disabled
authorDan Fandrich <dan@coneharvesters.com>
Fri, 6 May 2011 20:48:59 +0000 (13:48 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 6 May 2011 20:48:59 +0000 (13:48 -0700)
lib/transfer.c

index 69064d999c611a35f20d01582af221368e1bf0c6..ddbbe529be495b5f51447e47ebc12990ac73a851 100644 (file)
@@ -400,9 +400,7 @@ static CURLcode readwrite_data(struct SessionHandle *data,
   ssize_t nread; /* number of bytes read */
   size_t excess = 0; /* excess bytes read */
   bool is_empty_data = FALSE;
-#ifndef CURL_DISABLE_RTSP
   bool readmore = FALSE; /* used by RTP to signal for more data */
-#endif
 
   *done = FALSE;