Clean not used code. This code has been disabled since 2005-04-19 so it is not being...
authorCarlos Lopez <genetita@gmail.com>
Sun, 20 Jun 2010 19:40:09 +0000 (21:40 +0200)
committerCarlos Lopez <genetita@gmail.com>
Sun, 20 Jun 2010 19:40:09 +0000 (21:40 +0200)
synfig-core/src/synfig/valuenode.cpp

index c249559..8f3cc9a 100644 (file)
@@ -198,35 +198,6 @@ bool
 ValueNode::subsys_stop()
 {
        delete book_;
-/*     if(global_value_node_map.size() || value_node_count)
-       {
-               if(value_node_count)
-                       synfig::error("%d ValueNodes haven't been destroyed yet!",value_node_count);
-
-               if(global_value_node_map.size()!=value_node_count)
-                       synfig::error("value node count mismatch! map.size()!=value_node_count (%d!=%d)",global_value_node_map.size(),value_node_count);
-
-               GlobalValueNodeMap::iterator iter;
-               for(iter=global_value_node_map.begin();iter!=global_value_node_map.end();++iter)
-               {
-                       if(!iter->second->is_exported())
-                               synfig::info(_("%s: count:%d name:%s type:%s"),
-                                       iter->first.get_string().c_str(),
-                                       iter->second->count(),
-                                       iter->second->get_name().c_str(),
-                                       ValueBase::type_local_name(iter->second->get_type()).c_str()
-                               );
-                       else
-                               synfig::info(_("%s: id:%s count:%d name:%s type:%s"),
-                                       iter->first.get_string().c_str(),
-                                       iter->second->get_id().c_str(),
-                                       iter->second->count(),
-                                       iter->second->get_name().c_str(),
-                                       ValueBase::type_local_name(iter->second->get_type()).c_str()
-                               );
-               }
-       }
-*/
        return true;
 }