Fix some warnings.
authorZoltan Varga <vargaz@gmail.com>
Wed, 8 Apr 2015 19:41:28 +0000 (15:41 -0400)
committerZoltan Varga <vargaz@gmail.com>
Wed, 8 Apr 2015 19:41:28 +0000 (15:41 -0400)
mono/metadata/icall.c

index 056e76eada46bdee71cbe5c52eaecf6548181f40..8f0f4dfbdabcef0ca60ff54d22609239eae90a33 100644 (file)
@@ -6996,8 +6996,8 @@ mono_TypedReference_MakeTypedReferenceInternal (MonoObject *target, MonoArray *f
        MonoTypedRef res;
        MonoReflectionField *f;
        MonoClass *klass;
-       MonoType *ftype;
-       guint8 *p;
+       MonoType *ftype = NULL;
+       guint8 *p = NULL;
        int i;
 
        memset (&res, 0, sizeof (res));