projects
/
SXSI
/
XMLTree.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes
[SXSI/XMLTree.git]
/
XMLTree.cpp
diff --git
a/XMLTree.cpp
b/XMLTree.cpp
index
ae80fc2
..
8f8739d
100644
(file)
--- a/
XMLTree.cpp
+++ b/
XMLTree.cpp
@@
-1041,9
+1041,9
@@
int XMLTree::CloseDocument()
\r
// If we found an attribute then "<@>" is present in the tree
\r
// if we didn't then it is not. "<$>" is never present in the tree
\r
\r
// If we found an attribute then "<@>" is present in the tree
\r
// if we didn't then it is not. "<$>" is never present in the tree
\r
-
//
uint max_tag = 0;
\r
-
//
for(uint i=0;i<(uint)npar-1;i++)
\r
-
//
max_tag = max(max_tag,tags_aux[i]);
\r
+ uint max_tag = 0;
\r
+ for(uint i=0;i<(uint)npar-1;i++)
\r
+
max_tag = max(max_tag,tags_aux[i]);
\r
//max_tag++;
\r
//tags_aux = (TagType *) urealloc(tags_aux, sizeof(TagType)*(npar + 1));
\r
//tags_aux[npar++] = max_tag;
\r
//max_tag++;
\r
//tags_aux = (TagType *) urealloc(tags_aux, sizeof(TagType)*(npar + 1));
\r
//tags_aux[npar++] = max_tag;
\r