Remove unused local from List<T>.RemoveRange (dotnet/corefxdotnet/coreclr#31727)
authorRobin Sue <robinsue@live.de>
Mon, 13 Aug 2018 02:49:39 +0000 (04:49 +0200)
committerJan Kotas <jkotas@microsoft.com>
Mon, 13 Aug 2018 14:13:06 +0000 (07:13 -0700)
`int i` appears to be unused so i removed it.

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/1f02c30e053b1da4410e20c3b715128e3d1e354a

src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs

index 6b9f9b4..8d6d25b 100644 (file)
@@ -941,7 +941,6 @@ namespace System.Collections.Generic
 
             if (count > 0)
             {
-                int i = _size;
                 _size -= count;
                 if (index < _size)
                 {