summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2019-01-29 05:37:00 +0100
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-01-30 05:23:03 +0100
commitdd682cef29b5c44b0d1ef20df97d36a0e4615ce9 (patch)
tree9f2c60a70db1ec9c4abd0902225858be8b322d41 /src/env.h
parentb8977045f209c0de2d4d0333d098acd1823ded63 (diff)
downloadandroid-node-v8-dd682cef29b5c44b0d1ef20df97d36a0e4615ce9.tar.gz
android-node-v8-dd682cef29b5c44b0d1ef20df97d36a0e4615ce9.tar.bz2
android-node-v8-dd682cef29b5c44b0d1ef20df97d36a0e4615ce9.zip
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>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/env.h b/src/env.h
index 0d44c77418..2fab688fc8 100644
--- a/src/env.h
+++ b/src/env.h
@@ -517,8 +517,6 @@ class Environment {
inline AsyncHooks();
// Keep a list of all Persistent strings used for Provider types.
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.
AliasedBuffer<double, v8::Float64Array> async_ids_stack_;
// Attached to a Uint32Array that tracks the number of active hooks for