diff --git a/test/node-api/test_worker_terminate_finalization/test_worker_terminate_finalization.c b/test/node-api/test_worker_terminate_finalization/test_worker_terminate_finalization.c index 6171f01e1519eb..bb23830ecd2731 100644 --- a/test/node-api/test_worker_terminate_finalization/test_worker_terminate_finalization.c +++ b/test/node-api/test_worker_terminate_finalization/test_worker_terminate_finalization.c @@ -22,7 +22,6 @@ napi_value Test(napi_env env, napi_callback_info info) { size_t argc = 1; napi_value argv[1]; napi_value result; - napi_ref ref; void* bufferData = malloc(BUFFER_SIZE); NAPI_CALL(env, napi_get_cb_info(env, info, &argc, argv, NULL, NULL));