Skip to content

Commit 5906faa

Browse files
author
Christopher J. Brody
committed
url: mark ignored return value in node::url::Parse(...)
This is to resolve an unused result warning in node_url.cc.
1 parent 9d493d0 commit 5906faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_url.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,7 @@ namespace url {
12941294
argv[ARG_PATH] = Copy(isolate, url.path);
12951295
}
12961296

1297-
cb->Call(context, recv, 9, argv);
1297+
(void)cb->Call(context, recv, 9, argv);
12981298
}
12991299

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

0 commit comments

Comments
 (0)