From 3bc87291bee3a0695bd2f4fd3ac26309c1befae5 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 11 Feb 2011 13:18:59 +0000 Subject: [PATCH] Removed C99 feature. [r28365] --- ir/tr/type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1