From b35aa95b44558ea3f661155ec4b5584355da125d Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 2 Mar 2011 12:07:05 -0500 Subject: [PATCH] register type name fix Signed-off-by: Mathieu Desnoyers --- types/types.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/types/types.c b/types/types.c index 4b614f39..54116540 100644 --- a/types/types.c +++ b/types/types.c @@ -45,8 +45,6 @@ struct type *lookup_type(GQuark type_name, struct type_scope *scope) int register_type(GQuark name, struct type *type, struct type_scope *scope) { - g_assert(name == type->name); - if (!name) return -EPERM; -- 2.34.1