diff options
author | Neil <nyamatongwe@gmail.com> | 2016-10-06 15:50:22 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2016-10-06 15:50:22 +1100 |
commit | 077e7b2292dac2c962c3af46678593de9327236b (patch) | |
tree | 683e485b6090c5b107a36e48698838e152c434ca | |
parent | 9c0c31495c68c2757bbf95aa3f114d865dff88b8 (diff) | |
download | scintilla-mirror-077e7b2292dac2c962c3af46678593de9327236b.tar.gz |
Suppress some more uninteresting warnings.
-rw-r--r-- | cppcheck.suppress | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index 26fd5727c..095af77ba 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -11,7 +11,12 @@ noExplicitConstructor // cppcheck does not understand private methods can be called from static methods
unusedPrivateFunction:scintilla/win32/PlatWin.cxx
+// The performance cost of by-value passing is often small and using a reference decreases
+// code legibility.
+passedByValue
+
// Suppress most lexer warnings since the lexers are maintained by others
+redundantCondition:scintilla/lexers/LexA68k.cxx
useInitializationList:scintilla/lexers/LexAsm.cxx
useInitializationList:scintilla/lexers/LexBasic.cxx
uninitMemberVar:scintilla/lexers/LexBash.cxx
|