path: root/build-gluster-org
diff options
authorAmar Tumballi <>2019-06-11 11:50:41 +0000
committerAmar Tumballi <>2019-06-11 11:50:41 +0000
commitdbfb81d01bcb08852f77a55d2770ef097755fee3 (patch)
tree9d484f6aee0d06e80276197fa052e3d9890342b8 /build-gluster-org
parentcdac43d2eaf40f686a6f2519f4183a6ededbd087 (diff)
Revert "clang: add '-analyze-header' option"
By adding header files, the bug count went upto 482 from 66, and the same false positive I wished to go away increased. This reverts commit cdac43d2eaf40f686a6f2519f4183a6ededbd087. Change-Id: I651c5610cb3d19e13d0b3fad498b909346f941bf
Diffstat (limited to 'build-gluster-org')
1 files changed, 1 insertions, 1 deletions
diff --git a/build-gluster-org/scripts/ b/build-gluster-org/scripts/
index 5def953..5574bff 100644
--- a/build-gluster-org/scripts/
+++ b/build-gluster-org/scripts/
@@ -6,7 +6,7 @@ $MOCK --install rpcgen libtirpc-devel langpacks-en glibc-langpack-en automake au
$MOCK --copyin $WORKSPACE /src
$MOCK --chroot "cd /src && ./"
$MOCK --chroot "cd /src && ./configure CC=clang --enable-gnfs --enable-debug"
-$MOCK --chroot "cd /src && scan-build -o /src/clangScanBuildReports -disable-checker deadcode.DeadStores -v -v -analyze-headers --use-cc clang --use-analyzer=/usr/bin/clang make"
+$MOCK --chroot "cd /src && scan-build -o /src/clangScanBuildReports -disable-checker deadcode.DeadStores -v -v --use-cc clang --use-analyzer=/usr/bin/clang make"
$MOCK --copyout /src/clangScanBuildReports $WORKSPACE/clangScanBuildReports
$MOCK --clean
sudo chown -R jenkins:jenkins clangScanBuildReports