From 22cab9256a56f9fb1e91cb473ae6322335702b4b Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Thu, 21 Feb 2019 00:30:10 +0800 Subject: [PATCH] src: remove redundant cast in method AfterStringPath --- src/node_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_file.cc b/src/node_file.cc index 960fd052e88014..dc72a8e2a37360 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -555,7 +555,7 @@ void AfterStringPath(uv_fs_t* req) { if (after.Proceed()) { link = StringBytes::Encode(req_wrap->env()->isolate(), - static_cast(req->path), + req->path, req_wrap->encoding(), &error); if (link.IsEmpty())