Kill crufty makefile warnings
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user