From ac2dff71e56e828f86399d7acddc29290d3dade7 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Tue, 2 Apr 2024 17:22:47 +0200 Subject: [PATCH] Const/layout changes * ACE/ace/SOCK_Dgram_Mcast.cpp: --- ACE/ace/SOCK_Dgram_Mcast.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ACE/ace/SOCK_Dgram_Mcast.cpp b/ACE/ace/SOCK_Dgram_Mcast.cpp index a2bdb57f20c47..7f5a27a973510 100644 --- a/ACE/ace/SOCK_Dgram_Mcast.cpp +++ b/ACE/ace/SOCK_Dgram_Mcast.cpp @@ -564,17 +564,13 @@ ACE_SOCK_Dgram_Mcast::subscribe_i (const ACE_INET_Addr &mcast_addr, // Open the socket IFF this is the first ::subscribe and ::open // was not explicitly invoked. - if (this->open (mcast_addr, - net_if, - reuse_addr) == -1) + if (this->open (mcast_addr, net_if, reuse_addr) == -1) return -1; // Only do this if net_if == 0, i.e., INADDR_ANY if (net_if == 0) { - int result = this->subscribe_ifs (mcast_addr, - net_if, - reuse_addr); + int const result = this->subscribe_ifs (mcast_addr, net_if, reuse_addr); // Check for error or "short-circuit" return. if (result != 0) return result;