Mercurial > hg > orthanc
changeset 1893:d7f63122c7f3
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Dec 2015 17:22:52 +0100 |
parents | 0001f8cd7849 |
children | aeba5367f031 b1a6b90a1667 |
files | OrthancServer/DicomDirWriter.cpp OrthancServer/OrthancFindRequestHandler.cpp Plugins/Include/orthanc/OrthancCPlugin.h |
diffstat | 3 files changed, 5 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/DicomDirWriter.cpp Mon Dec 14 10:10:50 2015 +0100 +++ b/OrthancServer/DicomDirWriter.cpp Tue Dec 15 17:22:52 2015 +0100 @@ -159,10 +159,10 @@ const DcmTagKey& key) { DcmElement* element = NULL; - char* s = NULL; if (source.findAndGetElement(key, element).good()) { + char* s = NULL; if (element->isLeaf() && element->getString(s).good() && s != NULL)
--- a/OrthancServer/OrthancFindRequestHandler.cpp Mon Dec 14 10:10:50 2015 +0100 +++ b/OrthancServer/OrthancFindRequestHandler.cpp Tue Dec 15 17:22:52 2015 +0100 @@ -166,12 +166,11 @@ const std::string& remoteAet, const std::string& calledAet) { - static const char* NAME = "IncomingFindRequestFilter"; - Json::Value output; { LuaScripting::Locker locker(context_.GetLua()); + static const char* NAME = "IncomingFindRequestFilter"; if (!locker.GetLua().IsExistingFunction(NAME)) {
--- a/Plugins/Include/orthanc/OrthancCPlugin.h Mon Dec 14 10:10:50 2015 +0100 +++ b/Plugins/Include/orthanc/OrthancCPlugin.h Tue Dec 15 17:22:52 2015 +0100 @@ -112,9 +112,9 @@ #define ORTHANC_PLUGINS_API #endif -#define ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER 0 -#define ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER 9 -#define ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER 7 +#define ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER 1 +#define ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER 0 +#define ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER 0