diff options
-rw-r--r-- | cppcheck.suppress | 3 | ||||
-rw-r--r-- | test/unit/testCharClassify.cxx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/cppcheck.suppress b/cppcheck.suppress index b263542bf..fe31d215b 100644 --- a/cppcheck.suppress +++ b/cppcheck.suppress @@ -40,3 +40,6 @@ variableScope:scintilla/lexers/LexVHDL.cxx // Suppress C-style pointer casting for Qt code as won't be changing
cstyleCast:scintilla/qt/ScintillaEdit/ScintillaDocument.cpp
+
+// Suppress everything in catch.hpp as won't be changing
+*:scintilla/test/unit/catch.hpp
diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx index ef5f23ce1..ea084f3b2 100644 --- a/test/unit/testCharClassify.cxx +++ b/test/unit/testCharClassify.cxx @@ -13,6 +13,8 @@ // Test CharClassify. class CharClassifyTest { + // Avoid warnings, private so never called. + CharClassifyTest(const CharClassifyTest &); protected: CharClassifyTest() { pcc = new CharClassify(); |