Remove a double declaration of the same local variable.
authorKim Nguyễn <kn@lri.fr>
Wed, 17 Oct 2012 11:12:14 +0000 (13:12 +0200)
committerKim Nguyễn <kn@lri.fr>
Wed, 17 Oct 2012 11:14:56 +0000 (13:14 +0200)
xml-tree-inc.hpp

index 19745ed..faf4538 100644 (file)
@@ -167,7 +167,7 @@ inline xml_tree::node_t xml_tree::tagged_next_close(xml_tree::node_t x,
                                              xml_tree::tag_t label) const
 {
   xml_tree::node_t i=x;
-  for(xml_tree::node_t i = x+1; i < std::min(x+100, this->par->n); i++)
+  for(i = x+1; i < std::min(x+100, this->par->n); i++)
     if (tag(i) == label)
       return i;