From a8101ead573efa9a27e900b93d85cd67beda11b6 Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Sun, 25 Jul 2010 12:31:47 +0200 Subject: [PATCH] 2010-07-25 Zoltan Varga * mini-trampolines.c (common_call_trampoline): Fix a warning. --- mono/mini/ChangeLog | 4 ++++ mono/mini/mini-trampolines.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mono/mini/ChangeLog b/mono/mini/ChangeLog index e276ab3edf3..cbf39c5c499 100755 --- a/mono/mini/ChangeLog +++ b/mono/mini/ChangeLog @@ -1,3 +1,7 @@ +2010-07-25 Zoltan Varga + + * mini-trampolines.c (common_call_trampoline): Fix a warning. + 2010-07-24 Zoltan Varga * mini-s390x.c: Change the calling convention to pass this as first as on other diff --git a/mono/mini/mini-trampolines.c b/mono/mini/mini-trampolines.c index ffa0b303fb8..2bb080a0588 100644 --- a/mono/mini/mini-trampolines.c +++ b/mono/mini/mini-trampolines.c @@ -289,7 +289,7 @@ common_call_trampoline (mgreg_t *regs, guint8 *code, MonoMethod *m, guint8* tram #ifdef MONO_ARCH_HAVE_IMT /* IMT call */ if (vt && (gpointer)vtable_slot < (gpointer)vt) { - MonoMethod *impl_method; + MonoMethod *impl_method = NULL; MonoObject *this_arg; /* we get the interface method because mono_convert_imt_slot_to_vtable_slot () -- 2.25.1