From dcd67310bd3c62cd80a94f232735041e6b59b9b8 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 22 Aug 2026 19:21:22 -0400 Subject: [PATCH] demodmeshcore/meshcoredemoddecoderlora: mark intentional switch fallthrough Add Q_FALLTHROUGH() when crApp=4 falls through to the crApp=3 syndrome logic. This preserves the existing behavior while avoiding implicit-fallthrough warnings across GCC, Clang, and MSVC. Signed-off-by: Robin Getz --- plugins/channelrx/demodmeshcore/meshcoredemoddecoderlora.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demodmeshcore/meshcoredemoddecoderlora.h b/plugins/channelrx/demodmeshcore/meshcoredemoddecoderlora.h index d5033c680..1c0aebc97 100644 --- a/plugins/channelrx/demodmeshcore/meshcoredemoddecoderlora.h +++ b/plugins/channelrx/demodmeshcore/meshcoredemoddecoderlora.h @@ -224,8 +224,8 @@ private: } // fall through to crApp=3 syndrome logic + Q_FALLTHROUGH(); } - // no break case 3: { const bool s0 = codeword[0] ^ codeword[1] ^ codeword[2] ^ codeword[4];