From f08b25158efdf7f0ea92b85000552578c7b0feaf Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 29 Jan 2019 05:37:00 +0100 Subject: [PATCH] src: removed 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. --- src/env.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/env.h b/src/env.h index 6878f725bf6155..024ec7804d0edb 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 providers_[AsyncWrap::PROVIDERS_LENGTH]; - // Keep track of the environment copy itself. - Environment* env_; // Stores the ids of the current execution context stack. AliasedBuffer async_ids_stack_; // Attached to a Uint32Array that tracks the number of active hooks for