Skip to content
Snippets Groups Projects
Commit c94d4450 authored by Yang Tse's avatar Yang Tse
Browse files

fix compiler warning: statement is unreachable

parent 0032ce76
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,6 @@ CURLcode Curl_rtsp(struct connectdata *conn, bool *done)
case RTSPREQ_NONE:
failf(data, "Got invalid RTSP request: RTSPREQ_NONE");
return CURLE_BAD_FUNCTION_ARGUMENT;
break;
case RTSPREQ_OPTIONS:
p_request = "OPTIONS";
break;
......@@ -240,7 +239,6 @@ CURLcode Curl_rtsp(struct connectdata *conn, bool *done)
case RTSPREQ_LAST:
failf(data, "Got invalid RTSP request: RTSPREQ_LAST");
return CURLE_BAD_FUNCTION_ARGUMENT;
break;
}
if(rtspreq == RTSPREQ_RECEIVE) {
......@@ -508,9 +506,6 @@ CURLcode Curl_rtsp(struct connectdata *conn, bool *done)
}
return result;
return CURLE_OK;
}
CURLcode Curl_rtsp_rtp_readwrite(struct SessionHandle *data,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment