mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Apply suggestions from code review
Co-authored-by: Tom Hvitved <hvitved@github.com>
This commit is contained in:
@@ -53,8 +53,7 @@ namespace Semmle.Extraction.CSharp.Entities
|
||||
var rspArgs = CommandLineParser.SplitCommandLineIntoArguments(rspFileContent, removeHashComments: true);
|
||||
foreach (var rspArg in rspArgs)
|
||||
{
|
||||
trapFile.compilation_expanded_args(this, expandedIndex, rspArg);
|
||||
expandedIndex++;
|
||||
trapFile.compilation_expanded_args(this, expandedIndex++, rspArg);
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
@@ -64,8 +63,7 @@ namespace Semmle.Extraction.CSharp.Entities
|
||||
}
|
||||
else
|
||||
{
|
||||
trapFile.compilation_expanded_args(this, expandedIndex, arg);
|
||||
expandedIndex++;
|
||||
trapFile.compilation_expanded_args(this, expandedIndex++, arg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user