Permalink
Browse files

benchmark,path: remove unused variables

PR-URL: #15789
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
Aladdin-ADD authored and MylesBorins committed Oct 5, 2017
1 parent dbf5ddb commit b1b975370f812dbe573707b4acd23de958b69900
Showing with 1 addition and 5 deletions.
  1. +1 −1 benchmark/fs/read-stream-throughput.js
  2. +0 −4 lib/path.js
@@ -33,7 +33,7 @@ function main(conf) {
throw new Error('invalid type');
}
makeFile(runTest);
makeFile();
}
function runTest() {
View
@@ -269,7 +269,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;
@@ -391,7 +390,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;
@@ -769,7 +767,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) {
@@ -1037,7 +1034,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) {

0 comments on commit b1b9753

Please sign in to comment.