]> andersk Git - splint.git/commitdiff
Fixed internal bug for enum lists defined in structures without field names.
authorevans1629 <evans1629>
Wed, 6 Feb 2002 00:03:08 +0000 (00:03 +0000)
committerevans1629 <evans1629>
Wed, 6 Feb 2002 00:03:08 +0000 (00:03 +0000)
src/clabstract.c

index 8bdfe30650b34d8a0fe8d954c2c563e48e9ca7a2..8c2f1989c89be5ed3f0321d3d0f3402eaa46299e 100644 (file)
@@ -1092,6 +1092,11 @@ fixUnnamedDecl (qtype q)
 
       return (uentryList_copy (res));
     }
+  else if (ctype_isEnum (ct))
+    {
+      /* evans 2002-02-05: nothing to do for unnamed enum lists */
+      return uentryList_undefined;
+    }
   else
     {      
       BADBRANCHCONT;
This page took 0.040644 seconds and 5 git commands to generate.