Skip to content

Commit 1d56a8a

Browse files
tamasvajkhvitved
andauthored
Apply suggestions from code review
Co-authored-by: Tom Hvitved <[email protected]>
1 parent dabe63c commit 1d56a8a

File tree

1 file changed

+2
-4
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp/Entities/Compilations

1 file changed

+2
-4
lines changed

csharp/extractor/Semmle.Extraction.CSharp/Entities/Compilations/Compilation.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@ public override void Populate(TextWriter trapFile)
5353
var rspArgs = CommandLineParser.SplitCommandLineIntoArguments(rspFileContent, removeHashComments: true);
5454
foreach (var rspArg in rspArgs)
5555
{
56-
trapFile.compilation_expanded_args(this, expandedIndex, rspArg);
57-
expandedIndex++;
56+
trapFile.compilation_expanded_args(this, expandedIndex++, rspArg);
5857
}
5958
}
6059
catch (Exception exc)
@@ -64,8 +63,7 @@ public override void Populate(TextWriter trapFile)
6463
}
6564
else
6665
{
67-
trapFile.compilation_expanded_args(this, expandedIndex, arg);
68-
expandedIndex++;
66+
trapFile.compilation_expanded_args(this, expandedIndex++, arg);
6967
}
7068
}
7169

0 commit comments

Comments
 (0)