# HG changeset patch # User Sebastien Jodogne # Date 1604597090 -3600 # Node ID 3f85db78c441d7280b6e62889c8853aafc8e9567 # Parent db3932f9660dc1f8c29112df936552d32530e2a6 cppcheck diff -r db3932f9660d -r 3f85db78c441 OrthancFramework/UnitTestsSources/LoggingTests.cpp --- a/OrthancFramework/UnitTestsSources/LoggingTests.cpp Thu Nov 05 18:21:03 2020 +0100 +++ b/OrthancFramework/UnitTestsSources/LoggingTests.cpp Thu Nov 05 18:24:50 2020 +0100 @@ -380,7 +380,6 @@ std::set s; for (size_t i = 0; i < Logging::GetCategoriesCount(); i++) { - Logging::LogCategory c; ASSERT_TRUE(Logging::LookupCategory(c, Logging::GetCategoryName(i))); s.insert(Logging::GetCategoryName(i)); } diff -r db3932f9660d -r 3f85db78c441 OrthancServer/Resources/RunCppCheck.sh --- a/OrthancServer/Resources/RunCppCheck.sh Thu Nov 05 18:21:03 2020 +0100 +++ b/OrthancServer/Resources/RunCppCheck.sh Thu Nov 05 18:24:50 2020 +0100 @@ -14,12 +14,12 @@ knownConditionTrueFalse:../../OrthancServer/Plugins/Engine/OrthancPlugins.cpp nullPointer:../../OrthancFramework/UnitTestsSources/RestApiTests.cpp:309 nullPointerRedundantCheck:../../OrthancFramework/UnitTestsSources/DicomMapTests.cpp -stlFindInsert:../../OrthancFramework/Sources/DicomFormat/DicomMap.cpp:1103 +stlFindInsert:../../OrthancFramework/Sources/DicomFormat/DicomMap.cpp:1163 stlFindInsert:../../OrthancServer/Sources/OrthancWebDav.cpp:382 stlFindInsert:../../OrthancServer/Sources/ServerIndex.cpp:400 syntaxError:../../OrthancFramework/Sources/SQLite/FunctionContext.h:50 syntaxError:../../OrthancFramework/UnitTestsSources/ZipTests.cpp:129 -syntaxError:../../OrthancServer/UnitTestsSources/UnitTestsMain.cpp:337 +syntaxError:../../OrthancServer/UnitTestsSources/UnitTestsMain.cpp:319 uninitMemberVar:../../OrthancServer/Sources/ServerJobs/StorageCommitmentScpJob.cpp:427 unreadVariable:../../OrthancFramework/Sources/FileStorage/StorageAccessor.cpp unreadVariable:../../OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp:714