Add missing FALLTHROUGH comments to switch-case statements

This allows to suppress code analysis warnings in IDEs for missing break
statements.
This commit is contained in:
chme
2017-02-13 19:09:01 +01:00
committed by ejurgensen
parent 50b28bde96
commit 82e216c931
3 changed files with 12 additions and 6 deletions

View File

@@ -1471,6 +1471,8 @@ cast_session_shutdown(struct cast_session *cs, enum cast_state wanted_state)
if ((ret < 0) || (wanted_state >= CAST_STATE_MEDIA_LAUNCHED))
break;
/* FALLTHROUGH */
case CAST_STATE_MEDIA_LAUNCHED:
ret = cast_msg_send(cs, STOP, cast_cb_stop);
pending = 1;