Fix unused parameter warning in cpp codegen

pull/13764/head
Ken Payson 7 years ago
parent cc04915b07
commit 096e3c34b7
  1. 1
      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"

Loading…
Cancel
Save