diff options
author | Neil <nyamatongwe@gmail.com> | 2019-03-11 12:42:02 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-03-11 12:42:02 +1100 |
commit | 201137b95f674ee0443bcd01bfdb9149cdd37c40 (patch) | |
tree | 08f3ba5bad1183851beed3688c55d41594702a7c | |
parent | bd4e835624d38f922752c5f4b577502199f0b16f (diff) | |
download | scintilla-mirror-201137b95f674ee0443bcd01bfdb9149cdd37c40.tar.gz |
Update suppressions.
-rw-r--r-- | cppcheck.suppress | 7 |
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
|