diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-10-17 12:14:04 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-10-17 12:14:04 -0700 |
commit | 1298c8db79fbadf4459762f47467643de112c168 (patch) | |
tree | aca60cd1ae8e126efe0667cb3e4a674be2772c5e /src | |
parent | 809f992f83d46abbb876ac0bcc82effa210ae508 (diff) |
Fix -Wshadow warning
Diffstat (limited to 'src')
-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 9cbce7c..b2cc690 100644 --- a/src/pugixml.cpp +++ b/src/pugixml.cpp @@ -4897,7 +4897,7 @@ PUGI__NS_BEGIN xml_node_struct* node; char_t* name; - name_null_sentry(xml_node_struct* node): node(node), name(node->name) + name_null_sentry(xml_node_struct* node_): node(node_), name(node_->name) { node->name = 0; } |