From 5a5c10d91a58c19a8e62cda8a61788d04f1cf549 Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 20 Nov 2015 00:44:57 +0400 Subject: [PATCH] (Pak2Opener.OpenEntry): removed unused local var. --- ArcFormats/Cherry/ArcCherry.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArcFormats/Cherry/ArcCherry.cs b/ArcFormats/Cherry/ArcCherry.cs index 2b85937f..2c4e0f31 100644 --- a/ArcFormats/Cherry/ArcCherry.cs +++ b/ArcFormats/Cherry/ArcCherry.cs @@ -193,16 +193,14 @@ namespace GameRes.Formats.Cherry var data = arc.File.View.ReadBytes (entry.Offset, entry.Size); if (data.Length >= 0x18) { - uint encrypted_size; unsafe { fixed (byte* raw = data) { uint* raw32 = (uint*)raw; - raw32[0] ^= 0xA53CC35Au; + raw32[0] ^= 0xA53CC35Au; // FIXME: Exile-specific? raw32[1] ^= 0x35421005u; raw32[4] ^= 0xCF42355Du; - encrypted_size = raw32[5]; } } Decrypt (data, 0x18, (int)(data.Length - 0x18));