summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-11-13 09:26:05 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-11-13 09:27:38 -0800
commit3860b5076fd650e8cb0e7378675b241ec96b2e41 (patch)
treeb2f518fcd5ef03b4fcc5fc7400e31a6a1645ac88
parent58611c87026699c6fdc4b2d2a2057b594985282c (diff)
Fix -Wshadow warning
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index f6a5654..01ab41d 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -6963,7 +6963,7 @@ namespace pugi
if (other_first_child)
{
size_t other_children = 0;
- for (xml_node_struct* child = other_first_child; child; child = child->next_sibling)
+ for (xml_node_struct* node = other_first_child; node; node = node->next_sibling)
other_children++;
// in compact mode, each pointer assignment could result in a hash table request