From 0d9b4212f887dda4f8bfd0ec71917a7063c01bb0 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Wed, 17 Apr 2019 11:41:22 -0700 Subject: [PATCH] Cleanup Clang Tidy errors --- src/core/ext/filters/client_channel/client_channel.cc | 4 ++-- src/core/lib/compression/compression_args.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/ext/filters/client_channel/client_channel.cc b/src/core/ext/filters/client_channel/client_channel.cc index 0304a265a09..689978a4b32 100644 --- a/src/core/ext/filters/client_channel/client_channel.cc +++ b/src/core/ext/filters/client_channel/client_channel.cc @@ -146,7 +146,7 @@ class ChannelData { return picker_.get(); } void AddQueuedPick(QueuedPick* pick, grpc_polling_entity* pollent); - void RemoveQueuedPick(QueuedPick* pick, grpc_polling_entity* pollent); + void RemoveQueuedPick(QueuedPick* to_remove, grpc_polling_entity* pollent); bool received_service_config_data() const { return received_service_config_data_; @@ -223,7 +223,7 @@ class ChannelData { ~ChannelData(); static bool ProcessResolverResultLocked( - void* arg, Resolver::Result* args, const char** lb_policy_name, + void* arg, Resolver::Result* result, const char** lb_policy_name, RefCountedPtr* lb_policy_config); grpc_error* DoPingLocked(grpc_transport_op* op); diff --git a/src/core/lib/compression/compression_args.h b/src/core/lib/compression/compression_args.h index 75084ab0d91..407d6e2b8ca 100644 --- a/src/core/lib/compression/compression_args.h +++ b/src/core/lib/compression/compression_args.h @@ -42,7 +42,7 @@ grpc_channel_args* grpc_channel_args_set_compression_algorithm( * modified to point to the returned instance (which may be different from the * input value of \a a). */ grpc_channel_args* grpc_channel_args_compression_algorithm_set_state( - grpc_channel_args** a, grpc_compression_algorithm algorithm, int enabled); + grpc_channel_args** a, grpc_compression_algorithm algorithm, int state); /** Returns the bitset representing the support state (true for enabled, false * for disabled) for compression algorithms.