Skip to content

Commit de34bca

Browse files
authored
Merge pull request #372 from danielmarbach/unnecessary-await
Unnecessary await in TcpClientAdapter
2 parents abde7e5 + d177ca5 commit de34bca

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ public virtual async Task ConnectAsync(string host, int port)
3535
await sock.ConnectAsync(ep, port).ConfigureAwait(false);
3636
#else
3737
sock.Connect(ep, port);
38-
await Task.FromResult(false);
3938
#endif
4039
}
4140

0 commit comments

Comments
 (0)