This is an automated email from the ASF dual-hosted git repository.

dmeden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 76d6d4b56a cleanup - remove unused buffer. (#11741)
76d6d4b56a is described below

commit 76d6d4b56a1873f4097c19c721f27b43a3fda45c
Author: Damian Meden <[email protected]>
AuthorDate: Tue Aug 27 11:23:11 2024 +0200

    cleanup - remove unused buffer. (#11741)
    
    This removes an unused localbuffer from the rpcserver code.
---
 src/mgmt/rpc/server/IPCSocketServer.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mgmt/rpc/server/IPCSocketServer.cc 
b/src/mgmt/rpc/server/IPCSocketServer.cc
index c1d5423d7e..89641e26ab 100644
--- a/src/mgmt/rpc/server/IPCSocketServer.cc
+++ b/src/mgmt/rpc/server/IPCSocketServer.cc
@@ -448,7 +448,6 @@ IPCSocketServer::Config::Config()
 void
 IPCSocketServer::late_check_peer_credentials(int peedFd, TSRPCHandlerOptions 
const &options, swoc::Errata &errata) const
 {
-  swoc::LocalBufferWriter<256> w;
   // For privileged calls, ensure we have caller credentials and that the 
caller is privileged.
   auto ecode = [](UnauthorizedErrorCode c) -> std::error_code {
     return std::error_code(static_cast<unsigned>(c), std::generic_category());

Reply via email to