Fix compiler warnings

This commit is contained in:
Stephen Halter 2015-12-08 17:31:57 -08:00
parent 90ece575f7
commit dd02a1c442
2 changed files with 1 additions and 3 deletions

View File

@ -625,7 +625,6 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
bool immediate)
{
var begin = SocketOutput.ProducingStart();
var count = 0;
var end = begin;
if (_keepAlive)
{

View File

@ -19,7 +19,6 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
private const int _initialTaskQueues = 64;
private static WaitCallback _returnBlocks = (state) => ReturnBlocks((MemoryPoolBlock2)state);
private static MemoryPoolIterator2 _defaultIterator;
private readonly KestrelThread _thread;
private readonly UvStreamHandle _socket;
@ -213,7 +212,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Http
blockToReturn = _lastStart.Block;
}
_lastStart = _defaultIterator;
_lastStart = default(MemoryPoolIterator2);
}
if (blockToReturn != null)