From 28287d70b6879ab140b90150d9bc747fbc17510d Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 17 Nov 2019 08:20:01 +0000 Subject: AUDIO: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- audio/decoders/iff_sound.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'audio/decoders/iff_sound.cpp') diff --git a/audio/decoders/iff_sound.cpp b/audio/decoders/iff_sound.cpp index e42918cb62..7af082128b 100644 --- a/audio/decoders/iff_sound.cpp +++ b/audio/decoders/iff_sound.cpp @@ -79,6 +79,9 @@ struct A8SVXLoader { assert(_data); loadData(chunk._stream); return true; + + default: + break; } return false; @@ -94,6 +97,9 @@ struct A8SVXLoader { // implement other formats here error("compressed IFF audio is not supported"); break; + + default: + break; } } -- cgit v1.2.3