1
0
Fork 0
forked from len0rd/rockbox

misc: Properly annotate some intentional case fallthroughs

Change-Id: Ie758f17fefac72aca1aa28a8ba1126b9334fe134
This commit is contained in:
Solomon Peachy 2025-04-22 20:45:45 -04:00
parent 83950bf233
commit 5b1158e64a
9 changed files with 13 additions and 9 deletions

View file

@ -693,6 +693,7 @@ static intptr_t send_video_msg(long id, intptr_t data)
case VIDEO_PRINT_FRAME:
if (data)
break;
/* fallthrough */
case VIDEO_PRINT_THUMBNAIL:
if (disk_buf_status() != STREAM_STOPPED)
break; /* Prepare image if not playing */
@ -1132,7 +1133,7 @@ int stream_init(void)
rb->splash(HZ, "Parser init failed!");
}
else
{
{
return STREAM_OK;
}