mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
rtsp_do: fix DEAD CODE
"At condition p_request, the value of p_request cannot be NULL." Coverity CID 1306668.
This commit is contained in:
parent
99eafc49bb
commit
b430cb2a58
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user