diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-11-29 09:01:29 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-29 16:41:11 -0800 |
commit | 171b8108dfe1e89d4922bc9be0ebbbec608057d4 (patch) | |
tree | 831d453caf1da57faffb25164f7c70a65be84d1c /src/node_util.cc | |
parent | 7b8058a39e3485f7c6aeab87e9953f30c9974afd (diff) | |
download | android-node-v8-171b8108dfe1e89d4922bc9be0ebbbec608057d4.tar.gz android-node-v8-171b8108dfe1e89d4922bc9be0ebbbec608057d4.tar.bz2 android-node-v8-171b8108dfe1e89d4922bc9be0ebbbec608057d4.zip |
src: remove unused variables in node_util.cc
Currently two warnings are generated regarding unused variables.
This commit removes the unused variables.
PR-URL: https://github.com/nodejs/node/pull/24717
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'src/node_util.cc')
-rw-r--r-- | src/node_util.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_util.cc b/src/node_util.cc index 496b6cbbcb..810bb1929b 100644 --- a/src/node_util.cc +++ b/src/node_util.cc @@ -56,7 +56,6 @@ static void GetOwnNonIndexProperties( } static void GetPromiseDetails(const FunctionCallbackInfo<Value>& args) { - Environment* env = Environment::GetCurrent(args); // Return undefined if it's not a Promise. if (!args[0]->IsPromise()) return; @@ -75,7 +74,6 @@ static void GetPromiseDetails(const FunctionCallbackInfo<Value>& args) { } static void GetProxyDetails(const FunctionCallbackInfo<Value>& args) { - Environment* env = Environment::GetCurrent(args); // Return undefined if it's not a proxy. if (!args[0]->IsProxy()) return; |