mirror of
https://github.com/curl/curl.git
synced 2026-07-31 15:28:02 +03:00
fix compiler warning
This commit is contained in:
parent
de2cc11a73
commit
4bb80cfd75
4 changed files with 6 additions and 8 deletions
|
|
@ -369,7 +369,6 @@ static CURLcode readwrite_data(struct SessionHandle *data,
|
|||
CURLcode result = CURLE_OK;
|
||||
ssize_t nread; /* number of bytes read */
|
||||
bool is_empty_data = FALSE;
|
||||
bool readmore = FALSE; /* used by RTP to signal for more data */
|
||||
|
||||
*done = FALSE;
|
||||
|
||||
|
|
@ -439,7 +438,7 @@ static CURLcode readwrite_data(struct SessionHandle *data,
|
|||
|
||||
#ifndef CURL_DISABLE_RTSP
|
||||
if(conn->protocol & PROT_RTSP) {
|
||||
readmore = FALSE;
|
||||
bool readmore = FALSE;
|
||||
result = Curl_rtsp_rtp_readwrite(data, conn, &nread, &readmore, done);
|
||||
if(result)
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue