Commit 380080c1 authored by Nikias Bassen's avatar Nikias Bassen

xplist: fix shadowed variable declaration

parent 39b3f63d
...@@ -297,9 +297,9 @@ static void node_to_xml(node_t* node, void *xml_struct) ...@@ -297,9 +297,9 @@ static void node_to_xml(node_t* node, void *xml_struct)
if (isUIDNode) if (isUIDNode)
{ {
unsigned int num = node_n_children(node); unsigned int num = node_n_children(node);
unsigned int i; unsigned int j;
for (i = num; i > 0; i--) { for (j = num; j > 0; j--) {
node_t* ch = node_nth_child(node, i-1); node_t* ch = node_nth_child(node, j-1);
node_detach(node, ch); node_detach(node, ch);
node_destroy(ch); node_destroy(ch);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment