From 077e7b2292dac2c962c3af46678593de9327236b Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 6 Oct 2016 15:50:22 +1100 Subject: Suppress some more uninteresting warnings. --- cppcheck.suppress | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3