diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-11-13 09:26:05 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-11-13 09:27:38 -0800 |
commit | 3860b5076fd650e8cb0e7378675b241ec96b2e41 (patch) | |
tree | b2f518fcd5ef03b4fcc5fc7400e31a6a1645ac88 /src/pugixml.cpp | |
parent | 58611c87026699c6fdc4b2d2a2057b594985282c (diff) |
Fix -Wshadow warning
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r-- | src/pugixml.cpp | 2 |
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 |