X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fdiameter%2Fstack%2FEngine.cpp;h=0acb5e1c57e8c96b2039a8d66cbeee75fd056676;hp=d5f34689c0e2033788f9a34bed2570400835cd67;hb=7ee10b64f4c116460ffef5784eb9ef87d3f2339c;hpb=1a1b334a0d2b023bd778f0a19665cc9017dbc94a diff --git a/source/diameter/stack/Engine.cpp b/source/diameter/stack/Engine.cpp index d5f3468..0acb5e1 100644 --- a/source/diameter/stack/Engine.cpp +++ b/source/diameter/stack/Engine.cpp @@ -19,11 +19,6 @@ #include - -// libxml2 Parser doesn't support default attribute value retrieving: -// \n\ -// This dtd sintax will be replaced by #IMPLIED attributes. - namespace anna { namespace diameter { namespace stack { @@ -150,7 +145,6 @@ const anna::diameter::stack::Dictionary * anna::diameter::stack::Engine::getDict //------------------------------------------------------------------------------ std::string anna::diameter::stack::Engine::asString(bool all) const throw() { std::string trace; - unsigned int stackId; if(isEmpty()) { trace = "No diameter stacks found"; @@ -192,7 +186,7 @@ anna::diameter::stack::Dictionary * anna::diameter::stack::Engine::registerDicti throw anna::RuntimeException("Such provided stack id has already been created. Removes it before call this method", ANNA_FILE_LOCATION); } else { // new stack a_stacks[stackId] = dictionary; // no need for singleton destructor - const_stack_iterator it = a_stacks.find(stackId); + //const_stack_iterator it = a_stacks.find(stackId); //result = (Dictionary *)(*it).second; result = dictionary; }