Remove warnings
[anna.git] / source / diameter / stack / Engine.cpp
index d5f3468..0acb5e1 100644 (file)
 #include <stdarg.h>
 
 
-
-// libxml2 Parser doesn't support default attribute value retrieving:
-// <!ATTLIST avp name CDATA #REQUIRED code CDATA #REQUIRED vendor-name CDATA #IMPLIED may-encrypt (yes | no) \"no\" v-bit (must | may | shouldnot | mustnot) \"mustnot\" m-bit (must | may | shouldnot | mustnot) \"may\" p-bit (must | may | shouldnot | mustnot) \"may\">\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;
   }