summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-08 01:55:24 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-08 01:55:24 +0200
commit7de2a84cd402a1c2df8376174625920bec472ae1 (patch)
tree88644ac8113569e66c6bd3e89094efc1cfb717df /Userland/Libraries
parentb00b461b317eaed1cf027731ea8aaec3fe857edc (diff)
downloadserenity-7de2a84cd402a1c2df8376174625920bec472ae1.zip
LibJS: Add missing initializer for ParserState::m_current_scope_pusher
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibJS/Parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Parser.h b/Userland/Libraries/LibJS/Parser.h
index 7a95f4f19c..4613aaf8fd 100644
--- a/Userland/Libraries/LibJS/Parser.h
+++ b/Userland/Libraries/LibJS/Parser.h
@@ -239,7 +239,7 @@ private:
Lexer lexer;
Token current_token;
Vector<Error> errors;
- ScopePusher* current_scope_pusher;
+ ScopePusher* current_scope_pusher { nullptr };
HashMap<StringView, Optional<Position>> labels_in_scope;
bool strict_mode { false };