From aa6f15ec4998a77622fafe9c510b3b547c595679 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Tue, 14 Nov 2017 23:21:52 -0800 Subject: Refactor CompilerCore to ParserHelper and other clean up --- src/WixToolset.Data.WindowsInstaller/Output.cs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/WixToolset.Data.WindowsInstaller') diff --git a/src/WixToolset.Data.WindowsInstaller/Output.cs b/src/WixToolset.Data.WindowsInstaller/Output.cs index 71faeac7..26772872 100644 --- a/src/WixToolset.Data.WindowsInstaller/Output.cs +++ b/src/WixToolset.Data.WindowsInstaller/Output.cs @@ -186,7 +186,6 @@ namespace WixToolset.Data bool empty = reader.IsEmptyElement; Output output = new Output(SourceLineNumber.CreateFromUri(reader.BaseURI)); - SectionType sectionType = SectionType.Unknown; Version version = null; while (reader.MoveToNextAttribute()) @@ -201,22 +200,18 @@ namespace WixToolset.Data { case "Bundle": output.Type = OutputType.Bundle; - sectionType = SectionType.Bundle; break; case "Module": output.Type = OutputType.Module; - sectionType = SectionType.Module; break; case "Patch": output.Type = OutputType.Patch; break; case "PatchCreation": output.Type = OutputType.PatchCreation; - sectionType = SectionType.PatchCreation; break; case "Product": output.Type = OutputType.Product; - sectionType = SectionType.Product; break; case "Transform": output.Type = OutputType.Transform; -- cgit v1.2.3-55-g6feb