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 <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Zeyu Yang <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Juan José Arboleda <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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.