benchmark,path: remove unused variables
PR-URL: https://github.com/nodejs/node/pull/15789 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
9b2cf1c8eb
commit
fbb9eef4c4
@ -35,7 +35,7 @@ function main(conf) {
|
||||
throw new Error(`invalid encodingType: ${encodingType}`);
|
||||
}
|
||||
|
||||
makeFile(runTest);
|
||||
makeFile();
|
||||
}
|
||||
|
||||
function runTest() {
|
||||
|
@ -290,7 +290,6 @@ const win32 = {
|
||||
(code >= 97/*a*/ && code <= 122/*z*/)) {
|
||||
// Possible device root
|
||||
|
||||
code = path.charCodeAt(1);
|
||||
if (path.charCodeAt(1) === 58/*:*/) {
|
||||
device = path.slice(0, 2);
|
||||
rootEnd = 2;
|
||||
@ -412,7 +411,6 @@ const win32 = {
|
||||
(code >= 97/*a*/ && code <= 122/*z*/)) {
|
||||
// Possible device root
|
||||
|
||||
code = path.charCodeAt(1);
|
||||
if (path.charCodeAt(1) === 58/*:*/) {
|
||||
device = path.slice(0, 2);
|
||||
rootEnd = 2;
|
||||
@ -787,7 +785,6 @@ const win32 = {
|
||||
(code >= 97/*a*/ && code <= 122/*z*/)) {
|
||||
// Possible device root
|
||||
|
||||
code = path.charCodeAt(1);
|
||||
if (path.charCodeAt(1) === 58/*:*/) {
|
||||
rootEnd = offset = 2;
|
||||
if (len > 2) {
|
||||
@ -1054,7 +1051,6 @@ const win32 = {
|
||||
(code >= 97/*a*/ && code <= 122/*z*/)) {
|
||||
// Possible device root
|
||||
|
||||
code = path.charCodeAt(1);
|
||||
if (path.charCodeAt(1) === 58/*:*/) {
|
||||
rootEnd = 2;
|
||||
if (len > 2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user