# HG changeset patch # User Sebastien Jodogne # Date 1794925251 -3600 # Node ID 7c82d1dfa0efde50145f8e2098452ccbe9ca98d4 # Parent 75efe7198153bf8d38212ac4b14d42add57c8868 cppcheck diff -r 75efe7198153 -r 7c82d1dfa0ef OrthancServer/Resources/RunCppCheck-2.1.sh --- a/OrthancServer/Resources/RunCppCheck-2.1.sh Tue Nov 17 14:56:10 2026 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.1.sh Tue Nov 17 15:20:51 2026 +0100 @@ -38,7 +38,7 @@ unreadVariable:../../OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp:1179 useInitializationList:../../OrthancFramework/Sources/Images/PngReader.cpp:95 useInitializationList:../../OrthancFramework/Sources/Images/PngWriter.cpp:99 -useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:276 +useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:279 EOF CPPCHECK_BUILD_DIR=/tmp/cppcheck-build-dir-2.1/ diff -r 75efe7198153 -r 7c82d1dfa0ef OrthancServer/Resources/RunCppCheck-2.17.0.sh --- a/OrthancServer/Resources/RunCppCheck-2.17.0.sh Tue Nov 17 14:56:10 2026 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.17.0.sh Tue Nov 17 15:20:51 2026 +0100 @@ -20,8 +20,8 @@ constParameterCallback:../../OrthancFramework/Sources/Pkcs11.cpp:125 constParameterCallback:../../OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp:3554 constParameterCallback:../../OrthancServer/Sources/OrthancGetRequestHandler.cpp:66 -constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:476 -constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:480 +constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:477 +constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:481 constParameterPointer:../../OrthancFramework/Sources/Toolbox.cpp:3467 knownConditionTrueFalse:../../OrthancFramework/Sources/DicomNetworking/Internals/CommandDispatcher.cpp:113 knownConditionTrueFalse:../../OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp:444 @@ -49,7 +49,7 @@ syntaxError:../../OrthancServer/UnitTestsSources/UnitTestsMain.cpp:345 useInitializationList:../../OrthancFramework/Sources/Images/PngReader.cpp:95 useInitializationList:../../OrthancFramework/Sources/Images/PngWriter.cpp:99 -useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:276 +useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:279 variableScope:../../OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp:230 variableScope:../../OrthancServer/Sources/ServerJobs/OrthancPeerStoreJob.cpp:98 EOF diff -r 75efe7198153 -r 7c82d1dfa0ef OrthancServer/Resources/RunCppCheck-2.17.1.sh --- a/OrthancServer/Resources/RunCppCheck-2.17.1.sh Tue Nov 17 14:56:10 2026 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.17.1.sh Tue Nov 17 15:20:51 2026 +0100 @@ -19,8 +19,8 @@ constParameterCallback:../../OrthancFramework/Sources/Pkcs11.cpp:125 constParameterCallback:../../OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp:3554 constParameterCallback:../../OrthancServer/Sources/OrthancGetRequestHandler.cpp:66 -constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:476 -constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:480 +constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:477 +constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:481 constParameterPointer:../../OrthancFramework/Sources/Toolbox.cpp:3467 knownConditionTrueFalse:../../OrthancFramework/Sources/DicomNetworking/Internals/CommandDispatcher.cpp:113 knownConditionTrueFalse:../../OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp:444 @@ -48,7 +48,7 @@ syntaxError:../../OrthancServer/UnitTestsSources/UnitTestsMain.cpp:345 useInitializationList:../../OrthancFramework/Sources/Images/PngReader.cpp:95 useInitializationList:../../OrthancFramework/Sources/Images/PngWriter.cpp:99 -useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:276 +useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:279 variableScope:../../OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp:230 variableScope:../../OrthancServer/Sources/ServerJobs/OrthancPeerStoreJob.cpp:98 EOF diff -r 75efe7198153 -r 7c82d1dfa0ef OrthancServer/Resources/RunCppCheck-2.20.0.sh --- a/OrthancServer/Resources/RunCppCheck-2.20.0.sh Tue Nov 17 14:56:10 2026 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.20.0.sh Tue Nov 17 15:20:51 2026 +0100 @@ -14,8 +14,8 @@ assertWithSideEffect:../../OrthancServer/Sources/Database/Compatibility/DatabaseLookup.cpp:292 assertWithSideEffect:../../OrthancServer/Sources/Database/Compatibility/DatabaseLookup.cpp:389 assertWithSideEffect:../../OrthancServer/Sources/ServerJobs/ResourceModificationJob.cpp:293 -constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:476 -constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:480 +constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:477 +constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:481 constParameterPointer:../../OrthancFramework/Sources/Toolbox.cpp:3467 missingInclude:../../OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp:41 nullPointer:../../OrthancFramework/UnitTestsSources/RestApiTests.cpp:321 @@ -35,7 +35,7 @@ syntaxError:../../OrthancServer/UnitTestsSources/UnitTestsMain.cpp:345 useInitializationList:../../OrthancFramework/Sources/Images/PngReader.cpp:95 useInitializationList:../../OrthancFramework/Sources/Images/PngWriter.cpp:99 -useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:276 +useInitializationList:../../OrthancServer/Sources/ServerJobs/DicomModalityStoreJob.cpp:279 variableScope:../../OrthancServer/Sources/OrthancRestApi/OrthancRestApi.cpp:230 variableScope:../../OrthancServer/Sources/ServerJobs/OrthancPeerStoreJob.cpp:98 EOF