summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-08-12 18:30:01 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-08-12 18:30:01 -0400
commit337aa27ecdafb27f80db79ffb1110d91fdd5a4ef (patch)
tree2ea063e844cedcf13d4c3c34e38a6a6880185b06
parent4b2c8f05fa84b5d05ab3d83ebf190236d1b71561 (diff)
downloadbfs-337aa27ecdafb27f80db79ffb1110d91fdd5a4ef.tar.xz
ci/codeql: Ignore cpp/constant-comparison
It triggers on "constants" that vary by platform, e.g. the new sysoption() macro testing _POSIX_<OPTION>.
-rw-r--r--.github/codeql.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/codeql.yml b/.github/codeql.yml
index b61c30e..a4271ec 100644
--- a/.github/codeql.yml
+++ b/.github/codeql.yml
@@ -9,3 +9,5 @@ query-filters:
id: cpp/loop-variable-changed
- exclude:
id: cpp/poorly-documented-function
+ - exclude:
+ id: cpp/constant-comparison