aboutsummaryrefslogtreecommitdiff
path: root/audio/audio.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-02-25 14:46:55 +0100
committermalc <av1474@comtv.ru>2012-02-25 18:16:11 +0400
commitb4bd0b168e9f4898b98308f4a8a089f647a86d16 (patch)
tree3440d1189aec061a4018d37c59da54bcc791cce5 /audio/audio.c
parentcdf84806a129a33155d8f93342d377884de9b563 (diff)
audio: Add some fall through comments
Static code analysers expect these comments for case statements without a break statement. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio/audio.c')
-rw-r--r--audio/audio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/audio.c b/audio/audio.c
index 5fff6de966..398763fd7c 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -585,17 +585,20 @@ static int audio_pcm_info_eq (struct audio_pcm_info *info, struct audsettings *a
switch (as->fmt) {
case AUD_FMT_S8:
sign = 1;
+ /* fall through */
case AUD_FMT_U8:
break;
case AUD_FMT_S16:
sign = 1;
+ /* fall through */
case AUD_FMT_U16:
bits = 16;
break;
case AUD_FMT_S32:
sign = 1;
+ /* fall through */
case AUD_FMT_U32:
bits = 32;
break;