use c++17 [[fallthrough]]; (#9149)

This commit is contained in:
Thomas Rupprecht authored and GitHub committed 2025-06-27 02:40:42 +00:00
1 parent 87321ce10b
commit 61dfd5541f
5 files changed
+21 -22

No files matched your search

+1 -1
View File
@@ -312,7 +312,7 @@ FileDecoderState AudioDecoder::decode_mp3_() {
if (err) {
switch (err) {
case esp_audio_libs::helix_decoder::ERR_MP3_OUT_OF_MEMORY:
// Intentional fallthrough
[[fallthrough]];
case esp_audio_libs::helix_decoder::ERR_MP3_NULL_POINTER:
return FileDecoderState::FAILED;
break;