From: Anton Yartsev Date: Fri, 5 Dec 2014 00:59:07 +0000 (+0000) Subject: [analyzer] Eliminated endless loop. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=488283be8feb6ccb8a397f4b0b46e7d755d577dc;p=clang [analyzer] Eliminated endless loop. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223426 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build index f2b4c6b790..d52d8f5f65 100755 --- a/tools/scan-build/scan-build +++ b/tools/scan-build/scan-build @@ -1533,6 +1533,7 @@ while (@ARGV) { } if ($arg eq "-no-failure-reports") { + shift @ARGV; $ENV{"CCC_REPORT_FAILURES"} = 0; next; }