aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2024-08-29 10:07:52 +1000
committerNeil <nyamatongwe@gmail.com>2024-08-29 10:07:52 +1000
commit8cffa89c3bae58e55b61b24b9cfc76baad3584da (patch)
tree1b3a04ee901d04da035464d69861be57cd9622b7
parent6763becbfcc14b03e89812bd3ecd74ed9a57e2ba (diff)
downloadscintilla-mirror-8cffa89c3bae58e55b61b24b9cfc76baad3584da.tar.gz
Suppress non-exhaustive warning as not interesting.
-rw-r--r--cppcheck.suppress11
1 files changed, 4 insertions, 7 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index ea0dacc48..8bccbe7aa 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.11
+// Configured for cppcheck 2.14
+
+// This just warns that cppcheck isn't exhaustive and it still appears in exhaustive mode
+normalCheckLevelMaxBranches
// Coding style is to use assignments in constructor when there are many
// members to initialize or the initialization is complex or has comments.
@@ -37,12 +40,6 @@ returnByReference:scintilla/src/Selection.h
// MarginView access to all bits is safe and is better defined in later versions of C++
shiftTooManyBitsSigned:scintilla/src/MarginView.cxx
-// DLL entry points are unused inside Scintilla
-unusedFunction:scintilla/win32/ScintillaDLL.cxx
-
-// ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
-unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
-
// Doesn't understand changing dropWentOutside in Editor
knownConditionTrueFalse:scintilla/win32/ScintillaWin.cxx