From 7171664eec2fd5a7edddcefd7ec5c742d02ea0ac Mon Sep 17 00:00:00 2001 From: Phil Turnbull Date: Thu, 15 Jun 2017 17:49:39 -0400 Subject: [PATCH] Disable DeadStores scan-build checker This silences a true, but minor, bug in the external json-parser: externals/json-parser/json.c:653:37: warning: Value stored to 'b' is never read b = 0; ^ ~ --- script/lib.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/lib.sh b/script/lib.sh index 786fc51d..03e24796 100755 --- a/script/lib.sh +++ b/script/lib.sh @@ -22,5 +22,5 @@ function scan_build { extra_args+=("--use-c++=$CXX") fi - scan-build "${extra_args[@]}" --status-bugs "$@" + scan-build "${extra_args[@]}" --status-bugs -disable-checker deadcode.DeadStores "$@" }