Skip to content

Commit

Permalink
Fixed a typo in TaskItemComparer
Browse files Browse the repository at this point in the history
Fixed #81

(Courtesy of Viva64 and their PVS-Studio static analyzer. http://habrahabr.ru/company/pvs-studio/blog/268001/ )
  • Loading branch information
LordJZ committed Oct 1, 2015
1 parent d266600 commit dab9675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XMakeBuildEngine/UnitTests/BackEnd/TaskItemComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public int Compare(ITaskItem x, ITaskItem y)
return -1;
}

if (x.CloneCustomMetadata().Count != x.CloneCustomMetadata().Count)
if (x.CloneCustomMetadata().Count != y.CloneCustomMetadata().Count)
{
return -1;
}
Expand Down

0 comments on commit dab9675

Please sign in to comment.