Skip to content

Commit 3df1c2a

Browse files
Simplify
1 parent ba7e1d4 commit 3df1c2a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

projects/client/RabbitMQ.Client/src/client/impl/SocketFrameHandler.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,7 @@ public SocketFrameHandler(AmqpTcpEndpoint endpoint,
8989
{
9090
try {
9191
m_socket = ConnectUsingIPv6(endpoint, socketFactory, connectionTimeout);
92-
#pragma warning disable 0168
93-
} catch (ConnectFailureException cfe)
94-
#pragma warning restore 0168
92+
} catch (ConnectFailureException)
9593
{
9694
m_socket = null;
9795
}

0 commit comments

Comments
 (0)