mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
rtspclientsink: clean switch statements
Coverity demands for fallthrough statements to be clearly commented, to distinguish from accidental fall throughs. And it also needs all cases to finish with a break, even if the break is never going to be executed like in the case of a continue jump. CID #1352039 CID #1352040
This commit is contained in:
parent
3328461738
commit
4922b7f6b2
1 changed files with 2 additions and 0 deletions
|
@ -1949,6 +1949,7 @@ gst_rtsp_client_sink_loop_rx (GstRTSPClientSink * sink)
|
|||
goto server_eof;
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
case GST_RTSP_ENET:
|
||||
GST_DEBUG_OBJECT (sink, "An ethernet problem occured.");
|
||||
default:
|
||||
|
@ -4414,6 +4415,7 @@ gst_rtsp_client_sink_handle_message (GstBin * bin, GstMessage * message)
|
|||
gst_element_state_get_name (newstate),
|
||||
gst_element_state_get_name (pending), rtsp_client_sink->prerolled);
|
||||
}
|
||||
/* fallthrough */
|
||||
}
|
||||
default:
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue