Added initialization of fields
authorFIRM Projekt Account <firm@ipd.info.uni-karlsruhe.de>
Tue, 25 Mar 2003 16:36:16 +0000 (16:36 +0000)
committerFIRM Projekt Account <firm@ipd.info.uni-karlsruhe.de>
Tue, 25 Mar 2003 16:36:16 +0000 (16:36 +0000)
[r979]

ir/tr/entity.c

index f38847d..5cf9e2e 100644 (file)
@@ -88,6 +88,8 @@ new_entity (type *owner, ident *name, type *type)
     current_ir_graph = rem;
   } else {
     res->variability = uninitialized;
+    res->value = NULL;
+    res->values = NULL;
   }
   res->peculiarity = existent;
   res->volatility = non_volatile;