Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax authored and Matt Loring committed May 23, 2017
1 parent 70f9675 commit 0afbcfc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/async-wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,6 @@ static void PromiseHook(PromiseHookType type, Local<Promise> promise,
Local<Value> parent, void* arg) {
Local<Context> 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.
Expand Down

0 comments on commit 0afbcfc

Please sign in to comment.