aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-10-17 06:46:19 -0700
committerGravatar GitHub <noreply@github.com>2017-10-17 06:46:19 -0700
commit53cec0fc8fa170aefc641aaade014d8642f33302 (patch)
treeb7e75b3c25775ebbda69a4d897dcc10a848888ef /src
parent1f42fae4c5125c33f7b953d0d0073af8f8e4397e (diff)
Update create_channel.cc
Diffstat (limited to 'src')
-rw-r--r--src/cpp/client/create_channel.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpp/client/create_channel.cc b/src/cpp/client/create_channel.cc
index 142d7beabe..de67281dd4 100644
--- a/src/cpp/client/create_channel.cc
+++ b/src/cpp/client/create_channel.cc
@@ -38,8 +38,7 @@ std::shared_ptr<Channel> CreateCustomChannel(
const grpc::string& target,
const std::shared_ptr<ChannelCredentials>& creds,
const ChannelArguments& args) {
- GrpcLibraryCodegen
- init_lib; // We need to call init in case of a bad creds.
+ GrpcLibraryCodegen init_lib; // We need to call init in case of a bad creds.
return creds
? creds->CreateChannel(target, args)
: CreateChannelInternal("", grpc_lame_client_channel_create(