Browse Source

Merge pull request #328 from celeduc/cppcheck

Use cppcheck on src ; gitignore more outputs
miguelfreitas
miguelfreitas 10 years ago
parent
commit
bbfa75dc0a
  1. 12
      .gitignore
  2. 3
      Makefile.am
  3. 2
      src/cppcheck-suppressions.txt

12
.gitignore vendored

@ -2,6 +2,13 @@ src/*.exe
src/bitcoin src/bitcoin
src/bitcoind src/bitcoind
src/test_bitcoin src/test_bitcoin
src/.deps/
src/.dirstamp
libtorrent/src/.deps/
libtorrent/src/.dirstamp
libtorrent/src/kademlia/.deps/
libtorrent/src/kademlia/.dirstamp
build-aux/
.*.swp .*.swp
*.*~* *.*~*
*.bak *.bak
@ -56,3 +63,8 @@ qrc_*.cpp
build build
!src/leveldb-*/Makefile !src/leveldb-*/Makefile
# Targets
libtool
twister-control
twisterd

3
Makefile.am

@ -201,6 +201,9 @@ clean-local:
-$(MAKE) -C src/leveldb clean -$(MAKE) -C src/leveldb clean
rm -f src/leveldb/*/*.gcno src/leveldb/helpers/memenv/*.gcno rm -f src/leveldb/*/*.gcno src/leveldb/helpers/memenv/*.gcno
cppcheck:
cppcheck ./src -j 4 --force --quiet --suppressions ./src/cppcheck-suppressions.txt
pixmapsdir = $(datadir)/pixmaps pixmapsdir = $(datadir)/pixmaps
pixmaps_DATA = share/pixmaps/* pixmaps_DATA = share/pixmaps/*

2
src/cppcheck-suppressions.txt

@ -0,0 +1,2 @@
uninitstring:src/scrypt.cpp:83
arrayIndexOutOfBounds:src/test/DoS_tests.cpp:300
Loading…
Cancel
Save