From 75082c99fc0ad4e4f30b5fb7a7a438c8fe074857 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 29 Mar 2019 09:05:52 +1100 Subject: Backport: Suppress warnings for safety initializations. Backport of changeset 7393:885e4754926e. --- cppcheck.suppress | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cppcheck.suppress') 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 -- cgit v1.2.3