uninitialized variables-console

This commit is contained in:
AzaezelX 2020-05-11 14:40:31 -05:00
parent e9415a0994
commit 2c1508c169
23 changed files with 66 additions and 11 deletions

View file

@ -224,6 +224,9 @@ CodeInterpreter::CodeInterpreter(CodeBlock *cb) :
mSaveCodeBlock(nullptr),
mCurrentInstruction(0)
{
dMemset(&mExec, 0, sizeof(mExec));
dMemset(&mObjectCreationStack, 0, sizeof(mObjectCreationStack));
dMemset(&mNSDocBlockClass, 0, sizeof(mNSDocBlockClass));
}
CodeInterpreter::~CodeInterpreter()