summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-06-15 09:05:07 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-06-15 09:05:07 +0200
commitb430cb2a588b4a1912378b044c47341f1abefc49 (patch)
tree38c9d55f6ca38157231348b71cc4c4b80ad36e1b
parent99eafc49bbfd45b293b0e7afce7fe4649af6d2e4 (diff)
downloadgnurl-b430cb2a588b4a1912378b044c47341f1abefc49.tar.gz
gnurl-b430cb2a588b4a1912378b044c47341f1abefc49.tar.bz2
gnurl-b430cb2a588b4a1912378b044c47341f1abefc49.zip
rtsp_do: fix DEAD CODE
"At condition p_request, the value of p_request cannot be NULL." Coverity CID 1306668.
-rw-r--r--lib/rtsp.c2
1 files changed, 1 insertions, 1 deletions
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;
}