Skip to content

Commit

Permalink
[mono] Remove unused variable from mono_interp_transform_method (#76713)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger committed Oct 6, 2022
1 parent 65f9c1c commit d462be0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/mono/mono/mini/interp/transform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit d462be0

Please sign in to comment.