mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Document intentional fallthroughs + fix harmless unintended ones
Change-Id: I1ca5b1027ec30cbf61093bab35b980196ed14e6b
This commit is contained in:
parent
ef41cc6623
commit
005c414e5f
24 changed files with 36 additions and 2 deletions
|
|
@ -780,6 +780,7 @@ static bool cb_start_viewer(const char* filename){
|
|||
break;
|
||||
case COMMAND_QUIT:
|
||||
exit_app = true;
|
||||
/* fallthrough */
|
||||
case COMMAND_RETURN:
|
||||
exit_viewer = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue