Commit eb2caeb8 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Takashi Iwai

ALSA: seq_oss: Mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Warning level 2 was used: -Wimplicit-fallthrough=2
Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2f3b94e5
...@@ -92,7 +92,7 @@ snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *ev) ...@@ -92,7 +92,7 @@ snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *ev)
case TMR_WAIT_REL: case TMR_WAIT_REL:
parm += rec->cur_tick; parm += rec->cur_tick;
rec->realtime = 0; rec->realtime = 0;
/* continue to next */ /* fall through and continue to next */
case TMR_WAIT_ABS: case TMR_WAIT_ABS:
if (parm == 0) { if (parm == 0) {
rec->realtime = 1; rec->realtime = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment