diff options
author | cjihrig <cjihrig@gmail.com> | 2018-01-26 00:42:52 +0300 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-01-28 03:17:16 +0300 |
commit | 0be9cd24a628bbb6fb8997247bfc81d2a859acb1 (patch) | |
tree | 2a750d1d5821a085e123d9b0a4834b803fca124e /src/node_perf.cc | |
parent | f29c2cbec59c5e08a25689b81093107604f8f9ef (diff) |
src: remove unused variable
PR-URL: https://github.com/nodejs/node/pull/18385
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'src/node_perf.cc')
-rw-r--r-- | src/node_perf.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_perf.cc b/src/node_perf.cc index 4c3dfbe4eb7..48b8d02b79f 100644 --- a/src/node_perf.cc +++ b/src/node_perf.cc @@ -7,7 +7,6 @@ namespace node { namespace performance { using v8::Array; -using v8::ArrayBuffer; using v8::Context; using v8::Function; using v8::FunctionCallbackInfo; @@ -324,7 +323,6 @@ void Init(Local<Object> target, Environment* env = Environment::GetCurrent(context); Isolate* isolate = env->isolate(); performance_state* state = env->performance_state(); - auto state_ab = ArrayBuffer::New(isolate, state, sizeof(*state)); target->Set(context, FIXED_ONE_BYTE_STRING(isolate, "observerCounts"), |