rtsp: remove redundant condition

'rtsp' always evaluates to true. Spotted by CodeSonar.

Closes #17317
This commit is contained in:
Daniel Stenberg 2025-05-12 09:13:10 +02:00
parent c5398fa393
commit da06f01ab9
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -253,7 +253,7 @@ static CURLcode rtsp_done(struct Curl_easy *data,
httpStatus = Curl_http_done(data, status, premature);
if(rtsp && !status && !httpStatus) {
if(!status && !httpStatus) {
/* Check the sequence numbers */
long CSeq_sent = rtsp->CSeq_sent;
long CSeq_recv = rtsp->CSeq_recv;