From e8fa40235b06427e51e6a4db09b2d35778c3235f Mon Sep 17 00:00:00 2001 From: Cesar Blum Silveira Date: Mon, 3 Oct 2016 14:21:45 -0700 Subject: [PATCH] Remove unused variable in MemoryPoolIterator.Seek() (#1137). --- .../Internal/Infrastructure/MemoryPoolIterator.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Infrastructure/MemoryPoolIterator.cs b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Infrastructure/MemoryPoolIterator.cs index ccc54cf52a..b0b6837f65 100644 --- a/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Infrastructure/MemoryPoolIterator.cs +++ b/src/Microsoft.AspNetCore.Server.Kestrel/Internal/Infrastructure/MemoryPoolIterator.cs @@ -395,7 +395,6 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Internal.Infrastructure _block = block; var firstEqualByteIndex = FindFirstEqualByte(ref byte0Equals); - var vectorBytesScanned = firstEqualByteIndex + 1; if (_block == limit.Block && index + firstEqualByteIndex > limit.Index) {