aboutsummaryrefslogtreecommitdiffhomepage
path: root/cppcheck.suppress
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-03-11 12:42:02 +1100
committerNeil <nyamatongwe@gmail.com>2019-03-11 12:42:02 +1100
commit201137b95f674ee0443bcd01bfdb9149cdd37c40 (patch)
tree08f3ba5bad1183851beed3688c55d41594702a7c /cppcheck.suppress
parentbd4e835624d38f922752c5f4b577502199f0b16f (diff)
downloadscintilla-mirror-201137b95f674ee0443bcd01bfdb9149cdd37c40.tar.gz
Update suppressions.
Diffstat (limited to 'cppcheck.suppress')
-rw-r--r--cppcheck.suppress7
1 files changed, 5 insertions, 2 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index 915442276..145aec591 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -10,8 +10,8 @@ useInitializationList
// produces same result on empty collections
useStlAlgorithm
-// cppcheck 1.86 seems to be misunderstanding flow control in the large switch statement
-knownConditionTrueFalse:scintilla/src/Editor.cxx
+// The two sections are for different purposes: C1 control set and UTF-8 invalid bytes
+duplicateCondition:scintilla/src/Editor.cxx
// Some non-explicit constructors are used for conversions or are private to lexers
noExplicitConstructor
@@ -68,6 +68,9 @@ unreadVariable:scintilla/lexers/LexVHDL.cxx
variableScope:scintilla/lexers/LexVHDL.cxx
unreadVariable:scintilla/lexers/LexVisualProlog.cxx
+// bp.itBracket not actually redundant as needed by return statements
+redundantAssignment:scintilla/lexers/LexCPP.cxx
+
// Suppress everything in catch.hpp as won't be changing
*:scintilla/test/unit/catch.hpp
// For now, suppress all test source files as, since Catch 2, cppcheck shows many warnings showing