Skip to content

Commit 0f4e9da

Browse files
committed
[squash] fix compiler warning
1 parent 55f1b33 commit 0f4e9da

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/async-wrap.cc

-1
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,6 @@ AsyncWrap::~AsyncWrap() {
516516
// and reused over their lifetime. This way a new uid can be assigned when
517517
// the resource is pulled out of the pool and put back into use.
518518
void AsyncWrap::AsyncReset(bool silent) {
519-
AsyncHooks* async_hooks = env()->async_hooks();
520519
async_id_ = env()->new_async_id();
521520
trigger_id_ = env()->get_init_trigger_id();
522521

0 commit comments

Comments
 (0)