From b77071145f277356bbdada2f73cd163ff1d070bb Mon Sep 17 00:00:00 2001
From: Brennan <brecon@microsoft.com>
Date: Wed, 19 Jan 2022 09:33:10 -0800
Subject: [PATCH] Fix VS only warning (#39614)

https://github.com/dotnet/aspnetcore/blob/1ca07094ce3827229658c8abb741a9c3bc1fd9ae/.editorconfig#L233-L234 was missed in this file
---
 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 94330f2b340..cdf9483bd80 100644
--- a/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs
+++ b/src/Servers/Kestrel/Core/src/Internal/Http/HttpParser.cs
@@ -144,7 +144,7 @@ public class HttpParser<TRequestHandler> : IHttpParser<TRequestHandler> where TR
             var span = reader.UnreadSpan;
             while (span.Length > 0)
             {
-                var ch1 = (byte)0;
+                byte ch1;
                 var ch2 = (byte)0;
                 var readAhead = 0;
 
-- 
GitLab