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 addaleax committed Sep 22, 2020
1 parent f70cbc6 commit c302cae
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 @@ -1587,7 +1587,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 c302cae

Please sign in to comment.