summaryrefslogtreecommitdiff
path: root/source/Host/common/XML.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Host/common/XML.cpp')
-rw-r--r--source/Host/common/XML.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Host/common/XML.cpp b/source/Host/common/XML.cpp
index c637d938dffa6..c3169bd6e08d1 100644
--- a/source/Host/common/XML.cpp
+++ b/source/Host/common/XML.cpp
@@ -339,7 +339,7 @@ XMLNode XMLNode::FindFirstChildElementWithName(const char *name) const {
#if defined(LIBXML2_DEFINED)
ForEachChildElementWithName(
- name, [&result_node, name](const XMLNode &node) -> bool {
+ name, [&result_node](const XMLNode &node) -> bool {
result_node = node;
// Stop iterating, we found the node we wanted
return false;