Author: davide
Date: Wed Nov  1 16:48:07 2017
New Revision: 317144

URL: http://llvm.org/viewvc/llvm-project?rev=317144&view=rev
Log:
[XML] Simplify lambda removing unused capture. NFCI.

Modified:
    lldb/trunk/source/Host/common/XML.cpp

Modified: lldb/trunk/source/Host/common/XML.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/common/XML.cpp?rev=317144&r1=317143&r2=317144&view=diff
==============================================================================
--- lldb/trunk/source/Host/common/XML.cpp (original)
+++ lldb/trunk/source/Host/common/XML.cpp Wed Nov  1 16:48:07 2017
@@ -339,7 +339,7 @@ XMLNode XMLNode::FindFirstChildElementWi
 
 #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;


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to