# HG changeset patch # User Sebastien Jodogne # Date 1450196572 -3600 # Node ID d7f63122c7f3a52f3c63ffacda772d4d9a3f3cae # Parent 0001f8cd78494e897af37f480915a0a4cfb299fa cppcheck diff -r 0001f8cd7849 -r d7f63122c7f3 OrthancServer/DicomDirWriter.cpp --- 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) diff -r 0001f8cd7849 -r d7f63122c7f3 OrthancServer/OrthancFindRequestHandler.cpp --- 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)) { diff -r 0001f8cd7849 -r d7f63122c7f3 Plugins/Include/orthanc/OrthancCPlugin.h --- 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