From aeccf53e974f5830ff937f8745f4d32f973572b3 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 23 Aug 2010 18:23:55 +1200 Subject: [PATCH] squash some spurious warnings --- FileExtractor/FileExtractor.cs | 4 ++-- OpenRA.Game/Map.cs | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/FileExtractor/FileExtractor.cs b/FileExtractor/FileExtractor.cs index 51b8a27fd5..c1c084a473 100644 --- a/FileExtractor/FileExtractor.cs +++ b/FileExtractor/FileExtractor.cs @@ -1,6 +1,6 @@ -using System; +using System; +using System.IO; using OpenRA.FileFormats; -using System.IO; namespace FileExtractor { diff --git a/OpenRA.Game/Map.cs b/OpenRA.Game/Map.cs index 5787581936..e3191a583d 100755 --- a/OpenRA.Game/Map.cs +++ b/OpenRA.Game/Map.cs @@ -90,10 +90,10 @@ namespace OpenRA class Format2ActorReference { - public string Id; - public string Type; - public int2 Location; - public string Owner; + public string Id = null; + public string Type = null; + public int2 Location = int2.Zero; + public string Owner = null; } public Map(IFolder package)