Skip to content

Commit

Permalink
rtsp_do: fix DEAD CODE
Browse files Browse the repository at this point in the history
"At condition p_request, the value of p_request cannot be NULL."

Coverity CID 1306668.
  • Loading branch information
bagder committed Jun 15, 2015
1 parent 99eafc4 commit b430cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rtsp.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit b430cb2

Please sign in to comment.