From 201137b95f674ee0443bcd01bfdb9149cdd37c40 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 11 Mar 2019 12:42:02 +1100 Subject: Update suppressions. --- cppcheck.suppress | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cppcheck.suppress') 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 -- cgit v1.2.3