From fe3c21c8797e7fe12b4c9727ae6d4e70236c869a Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Mon, 24 Apr 2017 01:21:23 +0000 Subject: [PATCH] [Orc] Fix a warning by removing an unused lambda capture. llvm-svn: 301152 --- llvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h b/llvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h index a3008452d50f..a3be242b4457 100644 --- a/llvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h +++ b/llvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h @@ -378,7 +378,7 @@ public: return serializeSeq(C, std::string()); return handleErrors(std::move(Err), - [&C, &Lock](const ErrorInfoBase &EIB) { + [&C](const ErrorInfoBase &EIB) { auto SI = Serializers.find(EIB.dynamicClassID()); if (SI == Serializers.end()) return serializeAsStringError(C, EIB);