remove unused local of genId in BinaryObjectReader (#34865)
authorEriawan Kusumawardhono <eriawan@live.com>
Sun, 12 Apr 2020 14:27:19 +0000 (21:27 +0700)
committerGitHub <noreply@github.com>
Sun, 12 Apr 2020 14:27:19 +0000 (10:27 -0400)
src/libraries/System.Runtime.Serialization.Formatters/src/System/Runtime/Serialization/Formatters/Binary/BinaryObjectReader.cs

index e418bc2..93ae15e 100644 (file)
@@ -362,8 +362,6 @@ namespace System.Runtime.Serialization.Formatters.Binary
         // Array object encountered in stream
         private void ParseArray(ParseRecord pr)
         {
-            long genId = pr._objectId;
-
             Debug.Assert(_stack != null);
             if (pr._arrayTypeEnum == InternalArrayTypeE.Base64)
             {