Skip to content

Commit e736e20

Browse files
sam-githubtargos
authored andcommitted
src: declare unused priv argument
PR-URL: #27631 Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent d2e1efe commit e736e20

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/node_config.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ using v8::Value;
2121

2222
static void Initialize(Local<Object> target,
2323
Local<Value> unused,
24-
Local<Context> context) {
24+
Local<Context> context,
25+
void* priv) {
2526
Environment* env = Environment::GetCurrent(context);
2627
Isolate* isolate = env->isolate();
2728

test/cctest/test_linked_binding.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
void InitializeBinding(v8::Local<v8::Object> exports,
55
v8::Local<v8::Value> module,
6-
v8::Local<v8::Context> context) {
6+
v8::Local<v8::Context> context,
7+
void* priv) {
78
v8::Isolate* isolate = context->GetIsolate();
89
exports->Set(
910
context,

0 commit comments

Comments
 (0)