Skip to content

Commit 9e82efc

Browse files
Stefán J. Sigurðarsonlukebakken
authored andcommitted
Removing unused variables and making readonly where possible.
1 parent 8bf9308 commit 9e82efc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

projects/client/RabbitMQ.Client/src/client/api/DefaultBasicConsumer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ namespace RabbitMQ.Client
5757
/// </remarks>
5858
public class DefaultBasicConsumer : IBasicConsumer
5959
{
60-
private readonly object _eventLock = new object();
6160
private readonly HashSet<string> _consumerTags = new HashSet<string>();
6261

6362
/// <summary>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public MethodArgumentReader(Memory<byte> memory)
5757
ClearBits();
5858
}
5959

60-
private Memory<byte> _memory;
60+
private readonly Memory<byte> _memory;
6161
private int _memoryOffset;
6262

6363
public bool ReadBit()

0 commit comments

Comments
 (0)