src: remove unused variable in node_file.cc

PR-URL: https://github.com/nodejs/node/pull/34317
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
This commit is contained in:
sapics 2020-07-12 02:14:34 +09:00 committed by James M Snell
parent b06fe33de1
commit 6d5c33525a

View File

@ -1645,7 +1645,7 @@ static void ReadDir(const FunctionCallbackInfo<Value>& args) {
std::vector<Local<Value>> name_v;
std::vector<Local<Value>> type_v;
for (int i = 0; ; i++) {
for (;;) {
uv_dirent_t ent;
r = uv_fs_scandir_next(&(req_wrap_sync.req), &ent);