From: Michael Beck Date: Fri, 11 Feb 2011 13:18:59 +0000 (+0000) Subject: Removed C99 feature. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=3bc87291bee3a0695bd2f4fd3ac26309c1befae5;p=libfirm Removed C99 feature. [r28365] --- diff --git a/ir/tr/type.c b/ir/tr/type.c index 123e7faa9..43a4d62f9 100644 --- a/ir/tr/type.c +++ b/ir/tr/type.c @@ -387,8 +387,8 @@ void set_type_state(ir_type *tp, ir_type_state state) break; case tpo_enumeration: { #ifndef NDEBUG - assert(get_type_mode(tp) != NULL); size_t n_enums = get_enumeration_n_enums(tp); + assert(get_type_mode(tp) != NULL); for (i = 0; i < n_enums; ++i) { ir_enum_const *ec = get_enumeration_const(tp, i); ir_tarval *tv = get_enumeration_value(ec);