summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2018-01-25 16:42:52 -0500
committercjihrig <cjihrig@gmail.com>2018-01-27 19:17:16 -0500
commit0be9cd24a628bbb6fb8997247bfc81d2a859acb1 (patch)
tree2a750d1d5821a085e123d9b0a4834b803fca124e /src
parentf29c2cbec59c5e08a25689b81093107604f8f9ef (diff)
downloadandroid-node-v8-0be9cd24a628bbb6fb8997247bfc81d2a859acb1.tar.gz
android-node-v8-0be9cd24a628bbb6fb8997247bfc81d2a859acb1.tar.bz2
android-node-v8-0be9cd24a628bbb6fb8997247bfc81d2a859acb1.zip
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')
-rw-r--r--src/node_perf.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_perf.cc b/src/node_perf.cc
index 4c3dfbe4eb..48b8d02b79 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"),