mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user