diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-06-15 09:05:07 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-06-15 09:05:07 +0200 |
commit | b430cb2a588b4a1912378b044c47341f1abefc49 (patch) | |
tree | 38c9d55f6ca38157231348b71cc4c4b80ad36e1b /lib | |
parent | 99eafc49bbfd45b293b0e7afce7fe4649af6d2e4 (diff) |
rtsp_do: fix DEAD CODE
"At condition p_request, the value of p_request cannot be NULL."
Coverity CID 1306668.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rtsp.c | 2 |
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; } |