Skip to content

Commit 1d7c963

Browse files
danbevtargos
authored andcommitted
src: remove unused env_ field from env.h
Currently the following compiler warnings is generated: In file included from ../src/env-inl.h:28: ../src/env.h:521:18: warning: private field 'env_' is not used [-Wunused-private-field] Environment* env_; ^ 1 warning generated. This commit removes this unused field. PR-URL: #25784 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 1d1d3f5 commit 1d7c963

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/env.h

-2
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,6 @@ class Environment {
515515
inline AsyncHooks();
516516
// Keep a list of all Persistent strings used for Provider types.
517517
v8::Eternal<v8::String> providers_[AsyncWrap::PROVIDERS_LENGTH];
518-
// Keep track of the environment copy itself.
519-
Environment* env_;
520518
// Stores the ids of the current execution context stack.
521519
AliasedBuffer<double, v8::Float64Array> async_ids_stack_;
522520
// Attached to a Uint32Array that tracks the number of active hooks for

0 commit comments

Comments
 (0)