From: evans1629 Date: Wed, 6 Feb 2002 00:03:08 +0000 (+0000) Subject: Fixed internal bug for enum lists defined in structures without field names. X-Git-Tag: splint-3_0_1_6~10 X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/commitdiff_plain/f32c0a7e9496451b5cd2a0e933ff1cb35fa3893a Fixed internal bug for enum lists defined in structures without field names. --- diff --git a/src/clabstract.c b/src/clabstract.c index 8bdfe30..8c2f198 100644 --- a/src/clabstract.c +++ b/src/clabstract.c @@ -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;