projects
/
SXSI
/
XMLTree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af91f71
)
Remove a double declaration of the same local variable.
author
Kim Nguyễn
<kn@lri.fr>
Wed, 17 Oct 2012 11:12:14 +0000
(13:12 +0200)
committer
Kim Nguyễn
<kn@lri.fr>
Wed, 17 Oct 2012 11:14:56 +0000
(13:14 +0200)
xml-tree-inc.hpp
patch
|
blob
|
history
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;