Skip to content

Commit 0afbcfc

Browse files
addaleaxMatt Loring
authored andcommitted
remove unused variables
1 parent 70f9675 commit 0afbcfc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/async-wrap.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise,
272272
Local<Value> parent, void* arg) {
273273
Local<Context> context = promise->CreationContext();
274274
Environment* env = Environment::GetCurrent(context);
275-
const char async_id_key[] = "__async_wrap";
276-
const char tag_id_key[] = "__async_wrap_tag";
277275
if (type == PromiseHookType::kInit) {
278276
// Unfortunately, promises don't have internal fields. Need a surrogate that
279277
// async wrap can wrap.

0 commit comments

Comments
 (0)