Skip to content

Commit 13d7da2

Browse files
committed
gui/test/resultstree/testresultstree.cpp: suppress functionStatic and functionConst selfcheck warnings
1 parent ebbe8dd commit 13d7da2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

gui/test/resultstree/testresultstree.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class TestReport : public Report {
6464
QString output;
6565
};
6666

67+
// cppcheck-suppress-begin [functionStatic,functionConst]
6768
// Mock GUI...
6869
ProjectFile::ProjectFile(QObject *parent) : QObject(parent) {}
6970
ProjectFile *ProjectFile::mActiveProject;
@@ -117,6 +118,7 @@ void ThreadResult::reportOut(const std::string & /*unused*/, Color /*unused*/) {
117118
void ThreadResult::reportErr(const ErrorMessage & /*unused*/) {
118119
throw 1;
119120
}
121+
// cppcheck-suppress-end [functionStatic,functionConst]
120122

121123
// Test...
122124

0 commit comments

Comments
 (0)