diff options
Diffstat (limited to 'cppcheck.suppress')
-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
|