mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
cmAlgorithms: Remove needless assignment.
This commit is contained in:
@@ -249,8 +249,7 @@ typename Range::const_iterator cmRemoveIndices(Range& r, InputRange const& rem)
|
||||
prevRem = *remIt;
|
||||
writer = ContainerAlgorithms::RemoveN(writer, pivot, count);
|
||||
}
|
||||
writer = ContainerAlgorithms::RemoveN(writer, r.end(), count);
|
||||
return writer;
|
||||
return ContainerAlgorithms::RemoveN(writer, r.end(), count);
|
||||
}
|
||||
|
||||
template<typename Range, typename MatchRange>
|
||||
|
||||
Reference in New Issue
Block a user