From b430cb2a588b4a1912378b044c47341f1abefc49 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 15 Jun 2015 09:05:07 +0200 Subject: rtsp_do: fix DEAD CODE "At condition p_request, the value of p_request cannot be NULL." Coverity CID 1306668. --- lib/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rtsp.c b/lib/rtsp.c index 5d61c6fe2..e33069a93 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -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; } -- cgit v1.2.3