StyleCop clean IniFile
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user