1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2025-12-10 06:52:05 +01:00

Codechange: silence CodeQL complaints about long switches

This commit is contained in:
Rubidium
2025-11-24 22:25:34 +01:00
committed by rubidium42
parent 316f36fe14
commit 5533a24d84

View File

@@ -10,3 +10,5 @@ query-filters:
- cpp/irregular-enum-init - cpp/irregular-enum-init
# Our GUI code tends to use switches for OnClick handlers, DrawWidget, and UpdateWidgetSize. Sometimes GUIs just don't have many elements, but we want to keep consistency. # Our GUI code tends to use switches for OnClick handlers, DrawWidget, and UpdateWidgetSize. Sometimes GUIs just don't have many elements, but we want to keep consistency.
- cpp/trivial-switch - cpp/trivial-switch
# Our (GUI) code tends to use long switches.
- cpp/long-switch