Skip to content
Snippets Groups Projects
Commit b430cb2a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

rtsp_do: fix DEAD CODE

"At condition p_request, the value of p_request cannot be NULL."

Coverity CID 1306668.
parent 99eafc49
No related branches found
No related tags found
No related merge requests found
......@@ -322,7 +322,7 @@ static CURLcode rtsp_do(struct connectdata *conn, bool *done)
if(!p_session_id &&
(rtspreq & ~(RTSPREQ_OPTIONS | RTSPREQ_DESCRIBE | RTSPREQ_SETUP))) {
failf(data, "Refusing to issue an RTSP request [%s] without a session ID.",
p_request ? p_request : "");
p_request);
return CURLE_BAD_FUNCTION_ARGUMENT;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment