Fix uninitialized variable in decl_enum().

This commit is contained in:
David Anderson 2015-01-04 12:12:16 -08:00
parent 491036a1e6
commit bded4f9142

View File

@ -4647,9 +4647,9 @@ static void decl_enum(int vclass)
char *str;
int tag,explicittag;
cell increment,multiplier;
constvalue *enumroot;
LayoutSpec spec;
symbol *enumsym = nullptr;
constvalue *enumroot = nullptr;
/* get an explicit tag, if any (we need to remember whether an explicit
* tag was passed, even if that explicit tag was "_:", so we cannot call