From 86146e8c044a1aea2ea162701b1fc344d19e4dc3 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 7 Nov 2022 23:05:41 -0800 Subject: Very minor cleanup --- src/ext/Http/wixext/HttpCompiler.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/ext/Http/wixext/HttpCompiler.cs') diff --git a/src/ext/Http/wixext/HttpCompiler.cs b/src/ext/Http/wixext/HttpCompiler.cs index 6c572470..51fdfebc 100644 --- a/src/ext/Http/wixext/HttpCompiler.cs +++ b/src/ext/Http/wixext/HttpCompiler.cs @@ -81,7 +81,6 @@ namespace WixToolset.Http string store = null; string thumbprint = null; var handleExisting = HandleExisting.Replace; - string handleExistingValue = null; foreach (var attrib in node.Attributes()) { @@ -96,7 +95,7 @@ namespace WixToolset.Http appId = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); break; case "HandleExisting": - handleExistingValue = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); + var handleExistingValue = this.ParseHelper.GetAttributeValue(sourceLineNumbers, attrib); switch (handleExistingValue) { case "replace": -- cgit v1.2.3-55-g6feb