Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
url: mark ignored return value in node::url::Parse(...)
This is to resolve an unused result warning in node_url.cc.
  • Loading branch information
Christopher J. Brody committed Nov 23, 2016
commit dbf626d18a0b2ea5679bdeb71a536fb6341e0790
2 changes: 1 addition & 1 deletion src/node_url.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ namespace url {
argv[ARG_PATH] = Copy(isolate, url.path);
}

cb->Call(context, recv, 9, argv);
(void)cb->Call(context, recv, 9, argv);
}

static void Parse(const FunctionCallbackInfo<Value>& args) {
Expand Down