aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-10-22 09:06:42 +1100
committerNeil <nyamatongwe@gmail.com>2016-10-22 09:06:42 +1100
commit3d9611e085e27c1a4e1f9e93944bc8a2da61a4e9 (patch)
tree8843ce2b2ff1ce76f0ef208f89fbcedf963a2c46
parent4fb0634baacd401402eca2c1dbfdbbb77ebaece9 (diff)
downloadscintilla-mirror-3d9611e085e27c1a4e1f9e93944bc8a2da61a4e9.tar.gz
Suppress unused function warnings for API binding for Applications.
-rw-r--r--cppcheck.suppress3
1 files changed, 3 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress
index 699aaa61c..e6313e253 100644
--- a/cppcheck.suppress
+++ b/cppcheck.suppress
@@ -11,6 +11,9 @@ noExplicitConstructor
// cppcheck does not understand private methods can be called from static methods
unusedPrivateFunction:scintilla/win32/PlatWin.cxx
+// ScintillaDocument is providing an API and there are no consumers of the API inside Scintilla
+unusedFunction:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
+
// The performance cost of by-value passing is often small and using a reference decreases
// code legibility.
passedByValue