Skip to content

Commit

Permalink
src: declare unused priv argument
Browse files Browse the repository at this point in the history
PR-URL: #27631
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
sam-github committed May 13, 2019
1 parent c9bdc49 commit d3c2287
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/node_config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ using v8::Value;

static void Initialize(Local<Object> target,
Local<Value> unused,
Local<Context> context) {
Local<Context> context,
void* priv) {
Environment* env = Environment::GetCurrent(context);
Isolate* isolate = env->isolate();

Expand Down
3 changes: 2 additions & 1 deletion test/cctest/test_linked_binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

void InitializeBinding(v8::Local<v8::Object> exports,
v8::Local<v8::Value> module,
v8::Local<v8::Context> context) {
v8::Local<v8::Context> context,
void* priv) {
v8::Isolate* isolate = context->GetIsolate();
exports->Set(
context,
Expand Down

0 comments on commit d3c2287

Please sign in to comment.