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: https://github.com/nodejs/node/pull/25784 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
parent
b8977045f2
commit
dd682cef29
@ -517,8 +517,6 @@ class Environment {
|
|||||||
inline AsyncHooks();
|
inline AsyncHooks();
|
||||||
// Keep a list of all Persistent strings used for Provider types.
|
// Keep a list of all Persistent strings used for Provider types.
|
||||||
v8::Eternal<v8::String> providers_[AsyncWrap::PROVIDERS_LENGTH];
|
v8::Eternal<v8::String> providers_[AsyncWrap::PROVIDERS_LENGTH];
|
||||||
// Keep track of the environment copy itself.
|
|
||||||
Environment* env_;
|
|
||||||
// Stores the ids of the current execution context stack.
|
// Stores the ids of the current execution context stack.
|
||||||
AliasedBuffer<double, v8::Float64Array> async_ids_stack_;
|
AliasedBuffer<double, v8::Float64Array> async_ids_stack_;
|
||||||
// Attached to a Uint32Array that tracks the number of active hooks for
|
// Attached to a Uint32Array that tracks the number of active hooks for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user