src: remove redundant cast in method AfterStringPath
PR-URL: https://github.com/nodejs/node/pull/26218 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
43cb36b10b
commit
10de8d9ec8
@ -555,7 +555,7 @@ void AfterStringPath(uv_fs_t* req) {
|
|||||||
|
|
||||||
if (after.Proceed()) {
|
if (after.Proceed()) {
|
||||||
link = StringBytes::Encode(req_wrap->env()->isolate(),
|
link = StringBytes::Encode(req_wrap->env()->isolate(),
|
||||||
static_cast<const char*>(req->path),
|
req->path,
|
||||||
req_wrap->encoding(),
|
req_wrap->encoding(),
|
||||||
&error);
|
&error);
|
||||||
if (link.IsEmpty())
|
if (link.IsEmpty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user