diff --git a/src/rpc_proxy_interface.h b/src/rpc_proxy_interface.h index 4a5eb60cc65aae3f89d944e3762f4c91b1816643..3cd9742d891b839228f68b76ebcda7efa249be6e 100644 --- a/src/rpc_proxy_interface.h +++ b/src/rpc_proxy_interface.h @@ -95,8 +95,8 @@ buildHeader(RpcSubHeader &rheader, ServiceUUID uuid, ServiceID service_id, // @param proxy_id 代理实例ID // @param sub_id 订阅ID // @param transport 传输管道 -static inline void buildHeader(RpcCancelSubHeader &rheader, ServiceUUID uuid, - ServiceID service_id, const SubID &sub_id, +static inline void buildHeader(RpcCancelSubHeader &rheader, ServiceUUID /*uuid*/, + ServiceID /*service_id*/, const SubID &sub_id, TransportPtr transport) { rheader.header.length = sizeof(RpcCancelSubHeader); std::memcpy(rheader.sub_id, sub_id.c_str(), sub_id.size());