Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0dc0ef4

Browse files
author
Alexander Korotkov
committed
Disable deadcode.DeadStores in clang analyzer test
deadcode.DeadStores errors seems to be inevitable when using Bison.
1 parent 10650ec commit 0dc0ef4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

travis/pg-travis-test.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ if [ $CHECK_CODE = "true" ]; then
3636
if [ "$CC" = "clang" ]; then
3737
sudo apt-get -y install -qq clang-$LLVM_VER
3838

39-
scan-build-$LLVM_VER --status-bugs make USE_PGXS=1 USE_ASSERT_CHECKING=1 PG_CONFIG=$config_path || status=$?
39+
scan-build-$LLVM_VER --status-bugs \
40+
-disable-checker deadcode.DeadStores \
41+
make USE_PGXS=1 USE_ASSERT_CHECKING=1 PG_CONFIG=$config_path || status=$?
4042
exit $status
4143

4244
elif [ "$CC" = "gcc" ]; then

0 commit comments

Comments
 (0)