qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 15/15] audio: Add missing fall through comments


From: Gerd Hoffmann
Subject: [Qemu-devel] [PULL 15/15] audio: Add missing fall through comments
Date: Tue, 13 Aug 2019 13:18:09 +0200

From: Stefan Weil <address@hidden>

Signed-off-by: Stefan Weil <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
---
 audio/audio.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/audio/audio.c b/audio/audio.c
index ebe49f3ca10a..90d3dc836dec 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -309,6 +309,7 @@ void audio_pcm_init_info (struct audio_pcm_info *info, 
struct audsettings *as)
 
     case AUDIO_FORMAT_S16:
         sign = 1;
+        /* fall through */
     case AUDIO_FORMAT_U16:
         bits = 16;
         shift = 1;
@@ -316,6 +317,7 @@ void audio_pcm_init_info (struct audio_pcm_info *info, 
struct audsettings *as)
 
     case AUDIO_FORMAT_S32:
         sign = 1;
+        /* fall through */
     case AUDIO_FORMAT_U32:
         bits = 32;
         shift = 2;
-- 
2.18.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]