From 4246a178f413fde6ca9ae561ae813f8a206f460b Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Fri, 9 Aug 2019 11:23:37 +0200 Subject: [PATCH] Remove unused parameter. --- .../IL/Transforms/LocalFunctionDecompiler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs b/ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs index d8f4d294e..8c52794f0 100644 --- a/ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs +++ b/ICSharpCode.Decompiler/IL/Transforms/LocalFunctionDecompiler.cs @@ -250,10 +250,10 @@ namespace ICSharpCode.Decompiler.IL.Transforms break; } if (firstArgumentIndex > 0) { - HandleArgument(0, useSite.Arguments[0], skipForDeclarationScope: true); + HandleArgument(0, useSite.Arguments[0]); } - bool HandleArgument(int i, ILInstruction arg, bool skipForDeclarationScope = false) + bool HandleArgument(int i, ILInstruction arg) { ILVariable closureVar; if (!(arg.MatchLdLoc(out closureVar) || arg.MatchLdLoca(out closureVar)))