From 6fa4b53299243e8b4982ca4d8d24ecbd0ae2c10e Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 27 May 2015 13:55:42 +0400 Subject: [PATCH] disable unused variable warning. --- ArcFormats/ArcFFA.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArcFormats/ArcFFA.cs b/ArcFormats/ArcFFA.cs index 19db93f2..b671bd10 100644 --- a/ArcFormats/ArcFFA.cs +++ b/ArcFormats/ArcFFA.cs @@ -48,6 +48,7 @@ namespace GameRes.Formats.Ffa public override ArcFile TryOpen (ArcView file) { + #pragma warning disable 219 string type; if (file.View.AsciiEqual (0, "M2TYPE_WAV")) type = "wave"; @@ -57,6 +58,8 @@ namespace GameRes.Formats.Ffa type = "word"; else return null; + #pragma warning restore 219 + uint index_size = file.View.ReadUInt32 (file.MaxOffset-12); long index_offset = file.MaxOffset-0x14-index_size; int count = file.View.ReadInt32 (file.MaxOffset-8);