From 2b1bfa27eef10e4afc2328306ed9367599543d37 Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 25 Dec 2016 01:26:20 +0400 Subject: [PATCH] (Arc2Opener.Create): redunant callback invocation. --- ArcFormats/Will/ArcPulltop.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArcFormats/Will/ArcPulltop.cs b/ArcFormats/Will/ArcPulltop.cs index 1672b790..c885d8f2 100644 --- a/ArcFormats/Will/ArcPulltop.cs +++ b/ArcFormats/Will/ArcPulltop.cs @@ -111,9 +111,6 @@ namespace GameRes.Formats.Will EntryCallback callback) { int file_count = list.Count(); - if (null != callback) - callback (file_count+1, null, null); - int callback_count = 0; var names = new List (file_count); int index_size = 0; foreach (var entry in list) @@ -122,6 +119,7 @@ namespace GameRes.Formats.Will names.Add (utf16_name); index_size += 8 + utf16_name.Length + 2; } + int callback_count = 0; uint current_offset = 0; output.Position = 8 + index_size; foreach (var entry in list)