From: Robin Sue Date: Mon, 13 Aug 2018 02:49:39 +0000 (+0200) Subject: Remove unused local from List.RemoveRange (dotnet/corefxdotnet/coreclr#31727) X-Git-Tag: submit/tizen/20210909.063632~11030^2~4155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c0b81c1731af7409ed5920b91f67f844f147534d;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Remove unused local from List.RemoveRange (dotnet/corefxdotnet/coreclr#31727) `int i` appears to be unused so i removed it. Signed-off-by: dotnet-bot Commit migrated from https://github.com/dotnet/coreclr/commit/1f02c30e053b1da4410e20c3b715128e3d1e354a --- diff --git a/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs b/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs index 6b9f9b4..8d6d25b 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Collections/Generic/List.cs @@ -941,7 +941,6 @@ namespace System.Collections.Generic if (count > 0) { - int i = _size; _size -= count; if (index < _size) {