From a02ac201830aa2396b3b225eb1910af28567dc63 Mon Sep 17 00:00:00 2001 From: Jeremy Kuhne Date: Thu, 7 Feb 2019 15:52:48 -0800 Subject: [PATCH] Use var --- src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs b/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs index cab5637529..3010aecc61 100644 --- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs +++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs @@ -201,7 +201,7 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http byte ch1; byte ch2; var readAhead = false; - bool readSecond = true; + var readSecond = true; // Fast path, we're still looking at the same span if (remaining >= 2)