From: Mathieu Desnoyers Date: Wed, 2 Mar 2011 17:07:05 +0000 (-0500) Subject: register type name fix X-Git-Tag: v0.1~173 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=b35aa95b44558ea3f661155ec4b5584355da125d register type name fix Signed-off-by: Mathieu Desnoyers --- 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;