mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 20:44:56 +00:00
Merge pull request #328 from celeduc/cppcheck
Use cppcheck on src ; gitignore more outputs
This commit is contained in:
commit
bbfa75dc0a
12
.gitignore
vendored
12
.gitignore
vendored
@ -2,6 +2,13 @@ src/*.exe
|
||||
src/bitcoin
|
||||
src/bitcoind
|
||||
src/test_bitcoin
|
||||
src/.deps/
|
||||
src/.dirstamp
|
||||
libtorrent/src/.deps/
|
||||
libtorrent/src/.dirstamp
|
||||
libtorrent/src/kademlia/.deps/
|
||||
libtorrent/src/kademlia/.dirstamp
|
||||
build-aux/
|
||||
.*.swp
|
||||
*.*~*
|
||||
*.bak
|
||||
@ -56,3 +63,8 @@ qrc_*.cpp
|
||||
build
|
||||
|
||||
!src/leveldb-*/Makefile
|
||||
|
||||
# Targets
|
||||
libtool
|
||||
twister-control
|
||||
twisterd
|
||||
|
@ -201,6 +201,9 @@ clean-local:
|
||||
-$(MAKE) -C src/leveldb clean
|
||||
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
|
||||
pixmaps_DATA = share/pixmaps/*
|
||||
|
||||
|
2
src/cppcheck-suppressions.txt
Normal file
2
src/cppcheck-suppressions.txt
Normal file
@ -0,0 +1,2 @@
|
||||
uninitstring:src/scrypt.cpp:83
|
||||
arrayIndexOutOfBounds:src/test/DoS_tests.cpp:300
|
Loading…
x
Reference in New Issue
Block a user