Skip to content

Commit ecf5bea

Browse files
cjihrigevanlucas
authored andcommitted
src: remove unused variable
PR-URL: #18385 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]>
1 parent 7fc395a commit ecf5bea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/node_perf.cc

-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ namespace node {
77
namespace performance {
88

99
using v8::Array;
10-
using v8::ArrayBuffer;
1110
using v8::Context;
1211
using v8::Function;
1312
using v8::FunctionCallbackInfo;
@@ -332,7 +331,6 @@ void Init(Local<Object> target,
332331
Environment* env = Environment::GetCurrent(context);
333332
Isolate* isolate = env->isolate();
334333
performance_state* state = env->performance_state();
335-
auto state_ab = ArrayBuffer::New(isolate, state, sizeof(*state));
336334

337335
target->Set(context,
338336
FIXED_ONE_BYTE_STRING(isolate, "observerCounts"),

0 commit comments

Comments
 (0)