1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 01:19:11 +00:00

Codechange: [CodeQL] Disable CodeQL check on trivial switch statements (#10537)

This commit is contained in:
Tyler Trahan
2023-03-26 03:35:44 -04:00
committed by GitHub
parent 9642e87bc8
commit 3611082f8e

View File

@@ -8,3 +8,5 @@ query-filters:
- cpp/world-writable-file-creation
# Basically OpenTTD's coding style for adding things like ..._INVALID to enumerations
- 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.
- cpp/trivial-switch