Skip to content

Commit

Permalink
fixup! fixup! src: move http parser state out of Environment
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Apr 2, 2020
1 parent 72d24ee commit 54324b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/node_http_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,6 @@ void InitializeHttpParser(Local<Object> target,
Environment* env = Environment::GetCurrent(context);
Environment::BindingScope<BindingData> binding_scope(env);
if (!binding_scope) return;
BindingData* binding_data = binding_scope.data;

Local<FunctionTemplate> t = env->NewFunctionTemplate(Parser::New);
t->InstanceTemplate()->SetInternalFieldCount(Parser::kInternalFieldCount);
Expand Down

0 comments on commit 54324b6

Please sign in to comment.