aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-03-29 09:05:52 +1100
committerNeil <nyamatongwe@gmail.com>2019-03-29 09:05:52 +1100
commit75082c99fc0ad4e4f30b5fb7a7a438c8fe074857 (patch)
treed22df7397b6ee7c10c57454f2301e4960f3b012c
parent86266d4700632860705fc2d4e88d4be4f5228be1 (diff)
downloadscintilla-mirror-75082c99fc0ad4e4f30b5fb7a7a438c8fe074857.tar.gz
Backport: Suppress warnings for safety initializations.
Backport of changeset 7393:885e4754926e.
-rw-r--r--cppcheck.suppress3
1 files changed, 3 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index 145aec591..34a8ccb75 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -71,6 +71,9 @@ unreadVariable:scintilla/lexers/LexVisualProlog.cxx
// bp.itBracket not actually redundant as needed by return statements
redundantAssignment:scintilla/lexers/LexCPP.cxx
+// safety initializations at start of GetCharacterExtents
+redundantAssignment:scintilla/gtk/ScintillaGTKAccessible.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