Skip to content

Commit 260f811

Browse files
committed
test: remove unused exceptions for cppcheck
1 parent b90c7c2 commit 260f811

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

test/lint/lint-cppcheck-dash.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,9 @@
3434
)
3535

3636
IGNORED_WARNINGS = (
37-
"src/bls/bls.h:.* Struct 'CBLSIdImplicit' has a constructor with 1 argument that is not explicit.",
38-
"src/rpc/masternode.cpp:.*:21: warning: Consider using std::copy algorithm instead of a raw loop.", # UniValue doesn't support std::copy
39-
"src/cachemultimap.h:.*: warning: Variable 'mapIt' can be declared as reference to const",
40-
"src/evo/simplifiedmns.cpp:.*:20: warning: Consider using std::copy algorithm instead of a raw loop.",
41-
"src/llmq/commitment.cpp.* warning: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm]",
42-
"src/rpc/.*cpp:.*: note: Function pointer used here.",
43-
"src/masternode/sync.cpp:.*: warning: Variable 'pnode' can be declared as pointer to const [constVariableReference]",
44-
"src/wallet/bip39.cpp.*: warning: The scope of the variable 'ssCurrentWord' can be reduced. [variableScope]",
45-
"src/.*:.*: warning: Local variable '_' shadows outer function [shadowFunction]",
46-
4737
"src/stacktraces.cpp:.*: .*: Parameter 'info' can be declared as pointer to const",
4838
"src/stacktraces.cpp:.*: note: You might need to cast the function pointer here",
4939

50-
"[note|warning]: Return value 'state.Invalid(.*)' is always false",
51-
"note: Calling function 'Invalid' returns 0",
52-
"note: Shadow variable",
53-
54-
# General catchall, for some reason any value named 'hash' is viewed as never used.
55-
"Variable 'hash' is assigned a value that is never used.",
56-
5740
# The following can be useful to ignore when the catch all is used
5841
# "Consider performing initialization in initialization list.",
5942
"Consider using std::transform algorithm instead of a raw loop.",

0 commit comments

Comments
 (0)