]> andersk Git - splint.git/blobdiff - src/stateValue.c
Fixed problem with unnamed unions within struct definitions.
[splint.git] / src / stateValue.c
index 973bd70015bb2eff5a97f73437bbaa24f7d54d4b..aacffde629cb24ed823e296fa3a00cca63e6fbbc 100644 (file)
@@ -110,8 +110,11 @@ void stateValue_updateValueLoc (stateValue s, int value, fileloc loc)
 void stateValue_update (stateValue res, stateValue val)
 {
   llassert (stateValue_isDefined (res));
+  llassert (stateValue_isDefined (val));
+
   res->value = val->value;
   res->info = stateInfo_update (res->info, val->info);
+
   DPRINTF (("update state: %s", stateValue_unparse (res)));
 }
                  
This page took 0.033241 seconds and 4 git commands to generate.