From 3860b5076fd650e8cb0e7378675b241ec96b2e41 Mon Sep 17 00:00:00 2001
From: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
Date: Mon, 13 Nov 2017 09:26:05 -0800
Subject: [PATCH] Fix -Wshadow warning

---
 src/pugixml.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index f6a56549..01ab41d7 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
-- 
GitLab