Make it C89 compatible
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Nov 2003 15:01:04 +0000 (15:01 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 21 Nov 2003 15:01:04 +0000 (15:01 +0000)
[r2089]

ir/tr/entity.c

index 618aab7..7d80287 100644 (file)
@@ -580,8 +580,9 @@ remove_compound_ent_value(entity *ent, entity *value_ent) {
 
 INLINE void
 add_compound_ent_value(entity *ent, ir_node *val, entity *member) {
+  compound_graph_path *path;
   assert(ent && is_compound_entity(ent) && (ent->variability != variability_uninitialized));
-  compound_graph_path *path = new_compound_graph_path(get_entity_owner(ent), 1);
+  path = new_compound_graph_path(get_entity_owner(ent), 1);
   path->nodes[0] = member;
   add_compound_ent_value_w_path(ent, val, path);
 }