From c4f161912f4afff81b0697f52f78ad7f0620ac25 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 24 Sep 2024 11:54:27 +1000 Subject: Update suppressions for cppcheck 2.15. --- cppcheck.suppress | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/cppcheck.suppress b/cppcheck.suppress index 8bccbe7aa..7344a7ae3 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -1,6 +1,9 @@ // File to suppress cppcheck warnings for files that will not be fixed. // Does not suppress warnings where an additional occurrence of the warning may be of interest. -// Configured for cppcheck 2.14 +// Configured for cppcheck 2.15 + +// Just a report of how many checkers are run +checkersReport // This just warns that cppcheck isn't exhaustive and it still appears in exhaustive mode normalCheckLevelMaxBranches @@ -50,19 +53,10 @@ constParameterPointer:scintilla/win32/ScintillaWin.cxx knownConditionTrueFalse:scintilla/src/Editor.cxx knownConditionTrueFalse:scintilla/src/EditView.cxx -// cppcheck seems to believe that unique_ptr::get returns void* instead of T** -arithOperationsOnVoidPointer:scintilla/src/PerLine.cxx -arithOperationsOnVoidPointer:scintilla/src/PositionCache.cxx - // G_DEFINE_TYPE is too complex to pass to cppcheck unknownMacro:scintilla/gtk/PlatGTK.cxx - -// maskSmooth set depending on preprocessor allowing Wayland definition -badBitmaskCheck:scintilla/gtk/ScintillaGTK.cxx - -// Changing events to const pointers changes signature and would require casts when hooking up -constParameterPointer:scintilla/gtk/ScintillaGTK.cxx -constParameterCallback:scintilla/gtk/ScintillaGTK.cxx +// G_END_DECLS +unknownMacro:scintilla/gtk/scintilla-marshal.h // Difficult to test accessibility so don't change constParameterPointer:scintilla/gtk/ScintillaGTKAccessible.cxx -- cgit v1.2.3