Mercurial > hg > orthanc
changeset 4629:88e892e25a51 db-changes
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Apr 2021 17:51:26 +0200 |
parents | 5fabef29c4ff |
children | ee8706477b61 47dad8ce5157 |
files | OrthancServer/Resources/RunCppCheck.sh OrthancServer/Sources/ServerContext.cpp |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Resources/RunCppCheck.sh Tue Apr 20 15:59:31 2021 +0200 +++ b/OrthancServer/Resources/RunCppCheck.sh Tue Apr 20 17:51:26 2021 +0200 @@ -18,7 +18,7 @@ stlFindInsert:../../OrthancFramework/Sources/RestApi/RestApiCallDocumentation.cpp:164 stlFindInsert:../../OrthancFramework/Sources/RestApi/RestApiCallDocumentation.cpp:72 stlFindInsert:../../OrthancServer/Sources/Database/StatelessDatabaseOperations.cpp:383 -stlFindInsert:../../OrthancServer/Sources/OrthancWebDav.cpp:384 +stlFindInsert:../../OrthancServer/Sources/OrthancWebDav.cpp:386 syntaxError:../../OrthancFramework/Sources/SQLite/FunctionContext.h:50 syntaxError:../../OrthancFramework/UnitTestsSources/ZipTests.cpp:130 syntaxError:../../OrthancServer/UnitTestsSources/UnitTestsMain.cpp:321
--- a/OrthancServer/Sources/ServerContext.cpp Tue Apr 20 15:59:31 2021 +0200 +++ b/OrthancServer/Sources/ServerContext.cpp Tue Apr 20 17:51:26 2021 +0200 @@ -838,7 +838,7 @@ **/ FileInfo attachment; - int64_t revision; + int64_t revision; // Ignored if (index_.LookupAttachment(attachment, revision, instancePublicId, FileContentType_DicomUntilPixelData)) { @@ -866,7 +866,6 @@ { std::string s; - int64_t revision; // Ignored if (index_.LookupMetadata(s, revision, instancePublicId, ResourceType_Instance, MetadataType_Instance_PixelDataOffset)) {