From 33874c2d6d8c5b2057b86cb32a2d866f0c20e3b0 Mon Sep 17 00:00:00 2001 From: Stefanos A Date: Tue, 3 Dec 2013 08:59:48 +0100 Subject: [PATCH] Removed duplicate ldarg --- Source/OpenTK.Rewrite/Program.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/OpenTK.Rewrite/Program.cs b/Source/OpenTK.Rewrite/Program.cs index 2f3b59ea..bae00913 100644 --- a/Source/OpenTK.Rewrite/Program.cs +++ b/Source/OpenTK.Rewrite/Program.cs @@ -435,7 +435,6 @@ namespace OpenTK.Rewrite int index = body.Variables.Count - 1; // ptr = Marshal.AllocHGlobal(sb.Capacity + 1); - il.Emit(OpCodes.Ldarg, i); il.Emit(OpCodes.Callvirt, sb_get_capacity); il.Emit(OpCodes.Call, alloc_hglobal); il.Emit(OpCodes.Stloc, index);