diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-05-23 14:10:53 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-06-06 20:43:40 +0300 |
commit | ef25e095e57a6d589f2c6bed661ffaded0c17abd (patch) | |
tree | 2337e31ab0bd75d56075db74ae214cb26710d13c /src/node_platform.cc | |
parent | 3bcad3c8f1991914c3ccb3335b7685859366b69a (diff) |
src: remove unused fields isolate_
Currently the following compiler warnings are generated:
In file included from ../src/node_platform.cc:1:
../src/node_platform.h:83:16:
warning: private field 'isolate_' is not used [-Wunused-private-field]
v8::Isolate* isolate_;
^
1 warning generated.
This commit removes these unused private member.
PR-URL: https://github.com/nodejs/node/pull/20876
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Diffstat (limited to 'src/node_platform.cc')
-rw-r--r-- | src/node_platform.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_platform.cc b/src/node_platform.cc index 6fc83950d30..f2407f5be2d 100644 --- a/src/node_platform.cc +++ b/src/node_platform.cc @@ -65,7 +65,7 @@ size_t BackgroundTaskRunner::NumberOfAvailableBackgroundThreads() const { PerIsolatePlatformData::PerIsolatePlatformData( v8::Isolate* isolate, uv_loop_t* loop) - : isolate_(isolate), loop_(loop) { + : loop_(loop) { flush_tasks_ = new uv_async_t(); CHECK_EQ(0, uv_async_init(loop, flush_tasks_, FlushTasks)); flush_tasks_->data = static_cast<void*>(this); |