From e6782daf95d848aed17864534bc946b0f778ec1b Mon Sep 17 00:00:00 2001 From: Hung Dang Date: Thu, 27 May 2021 14:08:30 -0400 Subject: [PATCH] Fix an unused parameter warning in grpcpp/impl/codegen/service_type.h (#26346) * Initial commit * Address @veblush comment. --- include/grpcpp/impl/codegen/server_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/grpcpp/impl/codegen/server_interface.h b/include/grpcpp/impl/codegen/server_interface.h index a44ab1fa260..da0f5115dd9 100644 --- a/include/grpcpp/impl/codegen/server_interface.h +++ b/include/grpcpp/impl/codegen/server_interface.h @@ -148,7 +148,7 @@ class ServerInterface : public internal::CallHook { virtual void RegisterCallbackGenericService( experimental::CallbackGenericService* /*service*/) {} virtual void RegisterContextAllocator( - std::unique_ptr context_allocator) {} + std::unique_ptr /*context_allocator*/) {} }; /// NOTE: The function experimental_registration() is not stable public API.