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:
Daniel Stenberg 2023-03-30 23:09:12 +02:00
parent 041cf77cbd
commit 2d59eb0035
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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 */