diff --git a/include/grpcpp/security/credentials.h b/include/grpcpp/security/credentials.h index 34d2e2ea463..134e688fa89 100644 --- a/include/grpcpp/security/credentials.h +++ b/include/grpcpp/security/credentials.h @@ -98,10 +98,10 @@ class ChannelCredentials : private GrpcLibraryCodegen { // This function should have been a pure virtual function, but it is // implemented as a virtual function so that it does not break API. virtual std::shared_ptr CreateChannelWithInterceptors( - const grpc::string& target, const ChannelArguments& args, + const grpc::string& /* target */, const ChannelArguments& /* args */, std::vector< std::unique_ptr> - interceptor_creators) { + /* interceptor_creators */) { return nullptr; } };