projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove a double declaration of the same local variable.
[SXSI/XMLTree.git]
/
xml-tree-inc.hpp
diff --git
a/xml-tree-inc.hpp
b/xml-tree-inc.hpp
index
19745ed
..
faf4538
100644
(file)
--- 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;