projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f23be92
)
[runtime] Fix compilation warning
author
Ludovic Henry
<ludovic@xamarin.com>
Mon, 29 Feb 2016 15:59:09 +0000
(15:59 +0000)
committer
Ludovic Henry
<ludovic@xamarin.com>
Mon, 29 Feb 2016 15:59:09 +0000
(15:59 +0000)
mono/metadata/object.c
patch
|
blob
|
history
diff --git
a/mono/metadata/object.c
b/mono/metadata/object.c
index 9a0f4b6e933153e7ad5fd5964543c116081051fd..c93cafee4af3432f01fdcc434f0514402b58cab0 100644
(file)
--- a/
mono/metadata/object.c
+++ b/
mono/metadata/object.c
@@
-2160,9
+2160,8
@@
mono_class_create_runtime_vtable (MonoDomain *domain, MonoClass *klass, MonoErro
cm = klass->vtable [i];
if (cm) {
- vt->vtable [i] = callbacks.create_jit_trampoline (domain, cm, &error);
- if (!mono_error_ok (&error))
- mono_error_raise_exception (&error); /* FIXME: Don't raise here */
+ vt->vtable [i] = callbacks.create_jit_trampoline (domain, cm, error);
+ mono_error_raise_exception (error); /* FIXME: Don't raise here */
}
}
}