(chores) cleanup some compiler warnings

* switch-cases that fall through
* potential buffer overflow in improv.cpp
* potentially uninitialized variables in FX.cpp
* potential array out-of-range on segment::col[]
* minor optimization: only apply gamma correction when result is needed
* tag some possibly unused variables with   [[maybe_unused]]
This commit is contained in:
Frank
2026-03-11 13:54:58 +01:00
parent b994cf5b95
commit 49130c9ec9
13 changed files with 26 additions and 23 deletions

View File

@@ -395,6 +395,7 @@ const char **RotaryEncoderUIUsermod::re_findModeStrings(const char json[], int n
break;
case ',':
if (!insideQuotes) modeIndex++;
// falls through
default:
if (!insideQuotes) break;
}