From f73d48166aa124753033e75056677d32d63be45a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 18 Sep 2025 09:46:01 -0400 Subject: [PATCH] Source isn't needed here anymore --- .../Wrappers/PortableExecutable.Extraction.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/SabreTools.Serialization/Wrappers/PortableExecutable.Extraction.cs b/SabreTools.Serialization/Wrappers/PortableExecutable.Extraction.cs index fb642ead..685d8360 100644 --- a/SabreTools.Serialization/Wrappers/PortableExecutable.Extraction.cs +++ b/SabreTools.Serialization/Wrappers/PortableExecutable.Extraction.cs @@ -398,7 +398,7 @@ namespace SabreTools.Serialization.Wrappers // Try to find the section header if (WiseSection != null) - return ExtractWiseSection(outputDirectory, includeDebug, source); + return ExtractWiseSection(outputDirectory, includeDebug); // Everything else could not extract return false; @@ -523,10 +523,8 @@ namespace SabreTools.Serialization.Wrappers /// /// Output directory to write to /// True to include debug data, false otherwise - /// Potentially multi-part stream to read - /// Wise section information /// True if extraction succeeded, false otherwise - private bool ExtractWiseSection(string outputDirectory, bool includeDebug, Stream source) + private bool ExtractWiseSection(string outputDirectory, bool includeDebug) { // Get the section header var header = WiseSection;