mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 12:34:24 +00:00
Use cppcheck
This commit is contained in:
parent
11f0d57864
commit
557edad77d
13
.gitignore
vendored
13
.gitignore
vendored
@ -2,6 +2,8 @@ src/*.exe
|
|||||||
src/bitcoin
|
src/bitcoin
|
||||||
src/bitcoind
|
src/bitcoind
|
||||||
src/test_bitcoin
|
src/test_bitcoin
|
||||||
|
src/.deps/
|
||||||
|
src/.dirstamp
|
||||||
.*.swp
|
.*.swp
|
||||||
*.*~*
|
*.*~*
|
||||||
*.bak
|
*.bak
|
||||||
@ -56,3 +58,14 @@ qrc_*.cpp
|
|||||||
build
|
build
|
||||||
|
|
||||||
!src/leveldb-*/Makefile
|
!src/leveldb-*/Makefile
|
||||||
|
|
||||||
|
build-aux/
|
||||||
|
libtool
|
||||||
|
libtorrent/src/.deps/
|
||||||
|
libtorrent/src/.dirstamp
|
||||||
|
libtorrent/src/kademlia/.deps/
|
||||||
|
libtorrent/src/kademlia/.dirstamp
|
||||||
|
|
||||||
|
# Targets
|
||||||
|
twister-control
|
||||||
|
twisterd
|
||||||
|
@ -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 --force --quiet ./src/cppcheck-supressions.txt
|
||||||
|
|
||||||
pixmapsdir = $(datadir)/pixmaps
|
pixmapsdir = $(datadir)/pixmaps
|
||||||
pixmaps_DATA = share/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