[tor-commits] [tor/master] Silence SC2034 shellcheck checker for EXTRA_CHECKERS and NOISY_CHECKERS variables
nickm at torproject.org
nickm at torproject.org
Tue Dec 11 14:36:55 UTC 2018
commit 30f8b49d3b7917a15237724a0d0b913d27e876e2
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date: Fri Oct 12 10:09:11 2018 +0300
Silence SC2034 shellcheck checker for EXTRA_CHECKERS and NOISY_CHECKERS variables
---
scripts/test/scan-build.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/test/scan-build.sh b/scripts/test/scan-build.sh
index 8d126cbce..e111566bf 100755
--- a/scripts/test/scan-build.sh
+++ b/scripts/test/scan-build.sh
@@ -33,6 +33,7 @@ CHECKERS="\
-enable-checker security.insecureAPI.strcpy \
"
+# shellcheck disable=SC2034
# These have high false-positive rates.
EXTRA_CHECKERS="\
-enable-checker alpha.security.ArrayBoundV2 \
@@ -40,6 +41,7 @@ EXTRA_CHECKERS="\
-enable-checker alpha.core.CastSize \
"
+# shellcheck disable=SC2034
# These don't seem to generate anything useful
NOISY_CHECKERS="\
-enable-checker alpha.clone.CloneChecker \
More information about the tor-commits
mailing list