You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2019/05/23 14:01:26 UTC

[arrow] branch master updated: [C++] Fix clang-7 warning from unused lambda capture

This is an automated email from the ASF dual-hosted git repository.

wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 3131912  [C++] Fix clang-7 warning from unused lambda capture
3131912 is described below

commit 31319128d24983fdc91bb17b630e8b941a6f8bc7
Author: Wes McKinney <we...@apache.org>
AuthorDate: Thu May 23 09:01:13 2019 -0500

    [C++] Fix clang-7 warning from unused lambda capture
---
 cpp/src/arrow/flight/flight-benchmark.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpp/src/arrow/flight/flight-benchmark.cc b/cpp/src/arrow/flight/flight-benchmark.cc
index 20fe5ac..f2bd356 100644
--- a/cpp/src/arrow/flight/flight-benchmark.cc
+++ b/cpp/src/arrow/flight/flight-benchmark.cc
@@ -96,7 +96,7 @@ Status RunPerformanceTest(const std::string& hostname, const int port) {
   RETURN_NOT_OK(plan->GetSchema(&dict_memo, &schema));
 
   PerformanceStats stats;
-  auto ConsumeStream = [&stats, &hostname, &port](const FlightEndpoint& endpoint) {
+  auto ConsumeStream = [&stats, &port](const FlightEndpoint& endpoint) {
     // TODO(wesm): Use location from endpoint, same host/port for now
     std::unique_ptr<FlightClient> client;
     Location location;