From 528e6b93a93c0a2093ef890b6c94a108affc7d4b Mon Sep 17 00:00:00 2001 From: Chris Beard Date: Wed, 17 Jul 2024 09:40:16 -0400 Subject: [PATCH] bugfix: Rename shadowed variable (#362) Signed-off-by: Christopher Beard --- src/groups/mqb/mqbnet/mqbnet_tcpsessionfactory.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/groups/mqb/mqbnet/mqbnet_tcpsessionfactory.cpp b/src/groups/mqb/mqbnet/mqbnet_tcpsessionfactory.cpp index e7e7ab07d..355f13709 100644 --- a/src/groups/mqb/mqbnet/mqbnet_tcpsessionfactory.cpp +++ b/src/groups/mqb/mqbnet/mqbnet_tcpsessionfactory.cpp @@ -680,9 +680,9 @@ void TCPSessionFactory::channelStateCallback( << "rejecting empty peer URI: '" << channel.get() << "'"; - mwcio::Status status(mwcio::StatusCategory::e_GENERIC_ERROR, - d_allocator_p); - channel->close(status); + mwcio::Status closeStatus(mwcio::StatusCategory::e_GENERIC_ERROR, + d_allocator_p); + channel->close(closeStatus); } else { // Keep track of active channels, for logging purposes