From ae797ec305f44c6ef6b2db9861f27e5fed5de6a5 Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Fri, 5 May 2017 14:09:10 -0700 Subject: [PATCH] Remove unused lambda captures Test: build Bug: 37752547 Change-Id: Id318f412ad81b6e7de3ad644cba4405bb04f2729 --- libmemunreachable/tests/ThreadCapture_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmemunreachable/tests/ThreadCapture_test.cpp b/libmemunreachable/tests/ThreadCapture_test.cpp index 41ed84ee0..44aabd755 100644 --- a/libmemunreachable/tests/ThreadCapture_test.cpp +++ b/libmemunreachable/tests/ThreadCapture_test.cpp @@ -55,7 +55,7 @@ class ThreadListTest : public ::testing::TestWithParam { threads_.reserve(threads); tids_.reserve(threads); for (unsigned int i = 0; i < threads; i++) { - threads_.emplace_back([&, i, threads, this]() { + threads_.emplace_back([&, threads, this]() { { std::lock_guard lk(m_); tids_.push_back(gettid());