Avoid an "unused parameter" warning when using high warning levels.

This commit is contained in:
kenton@google.com 2008-10-16 23:00:34 +00:00
parent 7b29a2695c
commit 3bdc135653

View File

@ -219,8 +219,8 @@ void ServiceGenerator::GenerateNotImplementedMethods(io::Printer* printer) {
printer->Print(sub_vars,
"void $classname$::$name$(::google::protobuf::RpcController* controller,\n"
" const $input_type$* request,\n"
" $output_type$* response,\n"
" const $input_type$*,\n"
" $output_type$*,\n"
" ::google::protobuf::Closure* done) {\n"
" controller->SetFailed(\"Method $name$() not implemented.\");\n"
" done->Run();\n"