forked from len0rd/rockbox
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
|
@ -227,6 +227,7 @@ static int lrc_set_time(const char *title, const char *unit, long *pval,
|
|||
case PLA_UP_REPEAT:
|
||||
case PLA_DOWN_REPEAT:
|
||||
mult *= 10;
|
||||
/* fallthrough */
|
||||
case PLA_DOWN:
|
||||
case PLA_UP:
|
||||
if (button == PLA_DOWN_REPEAT || button == PLA_DOWN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue