[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Silence SC2034 shellcheck checker for EXTRA_CHECKERS and NOISY_CHECKERS variables



commit 30f8b49d3b7917a15237724a0d0b913d27e876e2
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
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 \



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits