aboutsummaryrefslogtreecommitdiffhomepage
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
commit89981b6a96348315d7c92d5049e6508a082de441 (patch)
tree7cabef84410d5363b7b5fbf8e47bbe4e840f7474
parent5dc25cb95ae69b7102aa2ead075ab9277fa8db72 (diff)
downloadscintilla-mirror-89981b6a96348315d7c92d5049e6508a082de441.tar.gz
Backport: Update suppressions.
Backport of changeset 7317:bc8755b362aa.
-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