diff --git a/src/aliased_buffer.h b/src/aliased_buffer.h index cdfd90765fcd86..fa610a97744840 100644 --- a/src/aliased_buffer.h +++ b/src/aliased_buffer.h @@ -4,7 +4,7 @@ #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS #include "v8.h" -#include "util.h" +#include "util-inl.h" namespace node { diff --git a/src/node_trace_events.cc b/src/node_trace_events.cc index ce60cde2d0d433..5269ad332ed151 100644 --- a/src/node_trace_events.cc +++ b/src/node_trace_events.cc @@ -62,7 +62,6 @@ void NodeCategorySet::New(const FunctionCallbackInfo& args) { } void NodeCategorySet::Enable(const FunctionCallbackInfo& args) { - Environment* env = Environment::GetCurrent(args); NodeCategorySet* category_set; ASSIGN_OR_RETURN_UNWRAP(&category_set, args.Holder()); CHECK_NOT_NULL(category_set); @@ -74,7 +73,6 @@ void NodeCategorySet::Enable(const FunctionCallbackInfo& args) { } void NodeCategorySet::Disable(const FunctionCallbackInfo& args) { - Environment* env = Environment::GetCurrent(args); NodeCategorySet* category_set; ASSIGN_OR_RETURN_UNWRAP(&category_set, args.Holder()); CHECK_NOT_NULL(category_set);