Fix uninitialized variable in decl_enum().
This commit is contained in:
parent
491036a1e6
commit
bded4f9142
@ -4647,9 +4647,9 @@ static void decl_enum(int vclass)
|
|||||||
char *str;
|
char *str;
|
||||||
int tag,explicittag;
|
int tag,explicittag;
|
||||||
cell increment,multiplier;
|
cell increment,multiplier;
|
||||||
constvalue *enumroot;
|
|
||||||
LayoutSpec spec;
|
LayoutSpec spec;
|
||||||
symbol *enumsym = nullptr;
|
symbol *enumsym = nullptr;
|
||||||
|
constvalue *enumroot = nullptr;
|
||||||
|
|
||||||
/* get an explicit tag, if any (we need to remember whether an explicit
|
/* 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
|
* tag was passed, even if that explicit tag was "_:", so we cannot call
|
||||||
|
Loading…
Reference in New Issue
Block a user