aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-10-09 09:42:47 +1100
committerNeil <nyamatongwe@gmail.com>2021-10-09 09:42:47 +1100
commit2801d65bcaa2fe0c13ca44ebb8a0cd467d728154 (patch)
tree78d06e1f1d2f3d487491a26807dad1e453a243db
parentba0b505cc19d961b174f372f2484900bce8c1a25 (diff)
downloadscintilla-mirror-2801d65bcaa2fe0c13ca44ebb8a0cd467d728154.tar.gz
Suppress unwanted warning from Cppcheck 2.6.
-rw-r--r--cppcheck.suppress3
1 files changed, 3 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index 4524c66ed..1e015d4ff 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -22,6 +22,9 @@ shiftTooManyBitsSigned:scintilla/src/MarginView.cxx
// DLL entry points are unused inside Scintilla
unusedFunction:scintilla\win32\ScintillaDLL.cxx
+// DLLMain is defined exactly as specified by Win32
+constParameter:scintilla\win32\ScintillaDLL.cxx
+
// The styler parameter is not const as LexAccessor::operator[] is not const
constParameter:scintilla/lexlib/StyleContext.cxx