diff --git a/src/async-wrap.cc b/src/async-wrap.cc index 810061009c241b..7451521f6a7d81 100644 --- a/src/async-wrap.cc +++ b/src/async-wrap.cc @@ -272,8 +272,6 @@ static void PromiseHook(PromiseHookType type, Local promise, Local parent, void* arg) { Local context = promise->CreationContext(); Environment* env = Environment::GetCurrent(context); - const char async_id_key[] = "__async_wrap"; - const char tag_id_key[] = "__async_wrap_tag"; if (type == PromiseHookType::kInit) { // Unfortunately, promises don't have internal fields. Need a surrogate that // async wrap can wrap.