diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-25 04:36:13 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-25 04:36:13 +0000 |
commit | 4bb80cfd75d41edbd0fc352c561d102e16d13201 (patch) | |
tree | 869465087ff08393e9093408a2c1bb046f04ec32 /lib/transfer.c | |
parent | de2cc11a739a3bf599c2542f6d770ccedd0ebe3c (diff) |
fix compiler warning
Diffstat (limited to 'lib/transfer.c')
-rw-r--r-- | lib/transfer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index f936e2fa0..a59588853 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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; |