Skip to content

Commit

Permalink
Removed useless variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sakya committed Jul 31, 2022
1 parent 69ad82c commit e3aea54
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CmdLineArgsParser/Parser.Parse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ private string[] ParseArgumentsForEqualSyntax(string[] args)
{
var res = new List<string>();
if (args?.Length > 0) {
bool isValue = false;
foreach (var arg in args) {
if (arg.StartsWith("-")) {
int idx = arg.IndexOf('=');
Expand All @@ -312,8 +311,6 @@ private string[] ParseArgumentsForEqualSyntax(string[] args)
} else {
res.Add(arg);
}

isValue = true;
} else {
res.Add(arg);
}
Expand Down

0 comments on commit e3aea54

Please sign in to comment.