From 49cd3a63203949ce0b86c2369de8a7efa0793058 Mon Sep 17 00:00:00 2001 From: lindexi Date: Sun, 24 Jan 2021 22:52:43 +0800 Subject: [PATCH] Remove unused local variable 'xamlType' in MS.Internal.Xaml.Parser.MePullParser --- .../src/System.Xaml/System/Xaml/Parser/MePullParser.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MePullParser.cs b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MePullParser.cs index cf01a6011e9..c2943d93b70 100644 --- a/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MePullParser.cs +++ b/src/Microsoft.DotNet.Wpf/src/System.Xaml/System/Xaml/Parser/MePullParser.cs @@ -495,8 +495,6 @@ private XamlNode Logic_EndPositionalParameters() // stack, but were not pushed onto the parser stack, so the // ME is still the CurrentType for us. - XamlType xamlType = _context.CurrentType; - _context.CurrentArgCount = 0; _context.CurrentMember = null; return new XamlNode(XamlNodeType.EndMember);