Skip to content

Commit f6f641e

Browse files
committed
Removed some unused variables
Fixes issue #1989
1 parent 79119c0 commit f6f641e

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

MailKit/Net/Imap/ImapCommand.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,6 @@ public bool Step ()
538538
{
539539
var supportsLiteralPlus = (Engine.Capabilities & ImapCapabilities.LiteralPlus) != 0;
540540
var response = ImapCommandResponse.None;
541-
var idle = UserData as ImapIdleContext;
542541
ImapToken token;
543542

544543
// construct and write the command tag if this is the initial state
@@ -681,7 +680,6 @@ public async Task<bool> StepAsync ()
681680
{
682681
var supportsLiteralPlus = (Engine.Capabilities & ImapCapabilities.LiteralPlus) != 0;
683682
var response = ImapCommandResponse.None;
684-
var idle = UserData as ImapIdleContext;
685683
ImapToken token;
686684

687685
// construct and write the command tag if this is the initial state

MailKit/Net/Pop3/Pop3Stream.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ async Task<int> ReadAheadAsync (CancellationToken cancellationToken)
328328
AlignReadAheadBuffer (out int start, out int end);
329329

330330
try {
331-
var network = Stream as NetworkStream;
332331
int nread;
333332

334333
cancellationToken.ThrowIfCancellationRequested ();

0 commit comments

Comments
 (0)