Kill crufty makefile warnings

This commit is contained in:
Paul Chote
2010-04-11 21:35:41 +12:00
committed by Chris Forbes
parent 6cf4692023
commit 21ee783521
9 changed files with 4 additions and 26 deletions

View File

@@ -117,7 +117,6 @@ namespace OpenRA.FileFormats
public void Save(string filepath)
{
Dictionary<string, MiniYaml> root = new Dictionary<string, MiniYaml>();
var d = new Dictionary<string, MiniYaml>();
foreach (var field in SimpleFields)
{
FieldInfo f = this.GetType().GetField(field);

View File

@@ -47,7 +47,6 @@ namespace OpenRA.FileFormats
public static MiniYaml FromList<T>(List<T>list)
{
var d = new Dictionary<string, MiniYaml>();
return new MiniYaml( null, list.ToDictionary( x=>x.ToString(), x=>new MiniYaml(null)));
}