mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 10:28:34 +00:00
Fix uninitialized variable in decl_enum().
This commit is contained in:
parent
9e882783f9
commit
bcef7365b0
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user