diff options
author | Rupert Shuttleworth <ruperts@google.com> | 2017-10-26 19:29:42 -0400 |
---|---|---|
committer | John Cater <jcater@google.com> | 2017-10-30 11:21:18 -0400 |
commit | aeffe38dd42ed53bc06427489cfb4beaa34d11e6 (patch) | |
tree | 9b9839110500b90f94ba24ec570e11413dc22695 /third_party/grpc | |
parent | 605ab69ff279cf5b4540174796fdd38ba9450d21 (diff) |
Ignore unused variable warning in gRPC.
Change-Id: I80c94cb2b3d5606d61cb7520687bd0b0bbb02ec5
Diffstat (limited to 'third_party/grpc')
-rw-r--r-- | third_party/grpc/src/cpp/client/create_channel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/grpc/src/cpp/client/create_channel.cc b/third_party/grpc/src/cpp/client/create_channel.cc index fdaa28ffef..bb8b201cdf 100644 --- a/third_party/grpc/src/cpp/client/create_channel.cc +++ b/third_party/grpc/src/cpp/client/create_channel.cc @@ -54,7 +54,7 @@ std::shared_ptr<Channel> CreateCustomChannel( const grpc::string& target, const std::shared_ptr<ChannelCredentials>& creds, const ChannelArguments& args) { - internal::GrpcLibrary + __attribute__((unused)) internal::GrpcLibrary init_lib; // We need to call init in case of a bad creds. ChannelArguments cp_args = args; std::ostringstream user_agent_prefix; |