mirror of
https://github.com/curl/curl.git
synced 2024-12-27 06:59:43 +08:00
rtsp: fix Value stored to 'skip_size' is never read
Pointed out by scan-build
Follow-up to 6c6306f300
Closes #10872
This commit is contained in:
parent
041cf77cbd
commit
2d59eb0035
@ -703,7 +703,6 @@ static CURLcode rtsp_rtp_readwrite(struct Curl_easy *data,
|
||||
DEBUGF(infof(data, "Skip the malformed interleaved data %lu "
|
||||
"bytes", skip_size));
|
||||
}
|
||||
skip_size = 0;
|
||||
break; /* maybe is an RTSP message */
|
||||
}
|
||||
/* Skip incorrect data util the next RTP packet or RTSP message */
|
||||
|
Loading…
Reference in New Issue
Block a user