aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-01-03 09:26:42 +1100
committerNeil <nyamatongwe@gmail.com>2019-01-03 09:26:42 +1100
commit22da8497568c5bdf273e9fcbe83dd47b2802b43b (patch)
treec67f343b615d8a593fd5da8f1797941fc940ff57
parent460d1f2722effac1908c8f6a0aa260f615cf463e (diff)
downloadscintilla-mirror-22da8497568c5bdf273e9fcbe83dd47b2802b43b.tar.gz
Update suppressions for Cppcheck 1.86.
-rw-r--r--cppcheck.suppress7
1 files changed, 7 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index b89562469..883e79430 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -10,6 +10,9 @@ 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
+
// Some non-explicit constructors are used for conversions or are private to lexers
noExplicitConstructor
@@ -26,6 +29,7 @@ passedByValue
// Suppress most lexer warnings since the lexers are maintained by others
redundantCondition:scintilla/lexers/LexA68k.cxx
useInitializationList:scintilla/lexers/LexAsm.cxx
+shadowVar:scintilla/lexers/LexAU3.cxx
useInitializationList:scintilla/lexers/LexBasic.cxx
uninitMemberVar:scintilla/lexers/LexBash.cxx
variableScope:scintilla/lexers/LexBash.cxx
@@ -46,7 +50,9 @@ variableScope:scintilla/lexers/LexNimrod.cxx
variableScope:scintilla/lexers/LexNsis.cxx
variableScope:scintilla/lexers/LexOpal.cxx
variableScope:scintilla/lexers/LexPB.cxx
+shadowVar:scintilla/lexers/LexPowerPro.cxx
variableScope:scintilla/lexers/LexProgress.cxx
+redundantAssignment:scintilla/lexers/LexRegistry.cxx
variableScope:scintilla/lexers/LexRuby.cxx
uninitMemberVar:scintilla/lexers/LexRuby.cxx
variableScope:scintilla/lexers/LexSpecman.cxx
@@ -55,6 +61,7 @@ invalidscanf:scintilla/lexers/LexTCMD.cxx
knownConditionTrueFalse:scintilla/lexers/LexTCMD.cxx
variableScope:scintilla/lexers/LexTeX.cxx
knownConditionTrueFalse:scintilla/lexers/LexVerilog.cxx
+shadowVar:scintilla/lexers/LexVHDL.cxx
variableScope:scintilla/lexers/LexVHDL.cxx
unreadVariable:scintilla/lexers/LexVisualProlog.cxx