[alsa-devel] [PATCH] ALSA: mixart_core: Mark expected switch fall-through
Takashi Iwai
tiwai at suse.de
Thu Aug 9 08:52:23 CEST 2018
On Thu, 09 Aug 2018 00:11:48 +0200,
Gustavo A. R. Silva wrote:
>
> In preparation to enabling -Wimplicit-fallthrough, mark switch cases
> where we are expecting to fall through.
>
> Notice that in this particular case, I replaced the code comment with
> a proper "fall through" annotation, which is what GCC is expecting
> to find.
>
> Addresses-Coverity-ID: 114889 ("Missing break in switch")
> Signed-off-by: Gustavo A. R. Silva <gustavo at embeddedor.com>
Applied, thanks.
Takashi
More information about the Alsa-devel
mailing list