aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler
diff options
context:
space:
mode:
authorGravatar Ken Payson <kpayson@google.com>2017-12-13 15:04:33 -0800
committerGravatar Ken Payson <kpayson@google.com>2017-12-13 15:04:33 -0800
commit096e3c34b76412dbe11131e7bb1fd8e8393c13ad (patch)
tree1e42d38165932898159bb8c897250fb571859b0a /src/compiler
parentcc04915b07cfd5245b43bb91cfa610cd406dc3f6 (diff)
Fix unused parameter warning in cpp codegen
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/cpp_generator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/cpp_generator.cc b/src/compiler/cpp_generator.cc
index dec8cd0f25..965d91b68b 100644
--- a/src/compiler/cpp_generator.cc
+++ b/src/compiler/cpp_generator.cc
@@ -1383,6 +1383,7 @@ void PrintSourceService(grpc_generator::Printer* printer,
"std::unique_ptr< $ns$$Service$::Stub> $ns$$Service$::NewStub("
"const std::shared_ptr< ::grpc::ChannelInterface>& channel, "
"const ::grpc::StubOptions& options) {\n"
+ " (void)options;\n"
" std::unique_ptr< $ns$$Service$::Stub> stub(new "
"$ns$$Service$::Stub(channel));\n"
" return stub;\n"