Skip to content

Commit

Permalink
src: remove unused variable in node_file.cc
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
sapics authored and MylesBorins committed Jul 27, 2020
1 parent 455dd9c commit cbe6385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_file.cc
Expand Up @@ -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);
Expand Down

0 comments on commit cbe6385

Please sign in to comment.