From 97d7dd2782da8997bf185469f3d6ef722aabe3a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Wed, 17 Oct 2012 13:12:14 +0200 Subject: [PATCH] Remove a double declaration of the same local variable. --- xml-tree-inc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml-tree-inc.hpp b/xml-tree-inc.hpp index 19745ed..faf4538 100644 --- a/xml-tree-inc.hpp +++ b/xml-tree-inc.hpp @@ -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; -- 2.17.1