From d462be072d71d98534da318d3418465f788ecea1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Thu, 6 Oct 2022 19:26:59 +0200 Subject: [PATCH] [mono] Remove unused variable from mono_interp_transform_method (#76713) --- src/mono/mono/mini/interp/transform.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mono/mono/mini/interp/transform.c b/src/mono/mono/mini/interp/transform.c index be92f4130510a..0d53c3d1e053e 100644 --- a/src/mono/mono/mini/interp/transform.c +++ b/src/mono/mono/mini/interp/transform.c @@ -9978,7 +9978,6 @@ mono_interp_transform_method (InterpMethod *imethod, ThreadContext *context, Mon { MonoMethod *method = imethod->method; MonoMethodHeader *header = NULL; - MonoMethodSignature *signature = mono_method_signature_internal (method); MonoVTable *method_class_vt; MonoGenericContext *generic_context = NULL; InterpMethod tmp_imethod; @@ -10022,7 +10021,6 @@ mono_interp_transform_method (InterpMethod *imethod, ThreadContext *context, Mon /* assumes all internal calls with an array this are built in... */ if (method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL && (! mono_method_signature_internal (method)->hasthis || m_class_get_rank (method->klass) == 0)) { nm = mono_marshal_get_native_wrapper (method, FALSE, FALSE); - signature = mono_method_signature_internal (nm); } else { const char *name = method->name; if (m_class_get_parent (method->klass) == mono_defaults.multicastdelegate_class) {