Skip to content

Commit a3347de

Browse files
committed
remove foo
1 parent b9150e6 commit a3347de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

google/cloud/bigtable/internal/data_connection_impl.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,13 +903,12 @@ class QueryPlanRefreshingPartialResultSource
903903
std::unique_ptr<bigtable::DataRetryPolicy>
904904
query_plan_refresh_retry_policy,
905905
internal::ImmutableOptions options) {
906-
auto foo = std::unique_ptr<QueryPlanRefreshingPartialResultSource>(
906+
return std::unique_ptr<QueryPlanRefreshingPartialResultSource>(
907907
new QueryPlanRefreshingPartialResultSource(
908908
std::move(request), std::move(source_factory),
909909
std::move(query_plan), std::move(operation_context),
910910
std::move(backoff_policy), std::move(retry_policy),
911911
std::move(query_plan_refresh_retry_policy), std::move(options)));
912-
return foo;
913912
}
914913

915914
~QueryPlanRefreshingPartialResultSource() override = default;

0 commit comments

Comments
 (0)