summaryrefslogtreecommitdiff
path: root/apps/menus
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-07-22 19:53:48 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-07-22 23:55:03 +0000
commit68294da574b29edb48904fb31a4a976a28040940 (patch)
treecaf5a447957cd49b4ae7d75c3eb03c2602cbc79c /apps/menus
parent1fea6f467027e75b36e0d6456a4da075c3890ec9 (diff)
Document an intentional fallthrough in the volume limit menu code
Change-Id: I51d331ff788b73aa84fece63bfdca9c3e08c0384
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/sound_menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/menus/sound_menu.c b/apps/menus/sound_menu.c
index 00fe006399..6d7ef270cb 100644
--- a/apps/menus/sound_menu.c
+++ b/apps/menus/sound_menu.c
@@ -73,6 +73,7 @@ static int volume_limit_callback(int action,
case ACTION_ENTER_MENUITEM:
setting.setting = &global_settings.volume_limit;
option_screen(&setting, NULL, false, ID2P(LANG_VOLUME_LIMIT));
+ /* Fallthrough */
case ACTION_EXIT_MENUITEM: /* on exit */
setvol();
break;