mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Init uninitialized variables (#149)
Signed-off-by: Ryan Choi <ryan.choi@samsung.com>
This commit is contained in:
parent
c111b252b7
commit
a62b5861bb
2 changed files with 2 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ Value Script::executeLocal(ExecutionState& state, Value thisValue, InterpretedCo
|
|||
m_topCodeBlock->m_cachedASTNode = nullptr;
|
||||
|
||||
bool isOnGlobal = true;
|
||||
FunctionEnvironmentRecord* fnRecord;
|
||||
FunctionEnvironmentRecord* fnRecord = nullptr;
|
||||
{
|
||||
LexicalEnvironment* env = state.executionContext()->lexicalEnvironment();
|
||||
while (env) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue