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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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