StyleCop clean IniFile

This commit is contained in:
Matthias Mailänder
2013-08-04 08:59:47 +02:00
parent 47044fc696
commit 32cbe4620f

View File

@@ -38,7 +38,7 @@ namespace OpenRA.FileFormats
while (!reader.EndOfStream)
{
string line = reader.ReadLine();
var line = reader.ReadLine();
if (line.Length == 0) continue;
@@ -68,7 +68,7 @@ namespace OpenRA.FileFormats
bool ProcessEntry(string line, IniSection currentSection)
{
int comment = line.IndexOf( ';' );
var comment = line.IndexOf(';');
if (comment >= 0)
line = line.Substring(0, comment);