Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: remove unused variable in node_file.cc
  • Loading branch information
sapics committed Jul 11, 2020
commit edab299d30ebe31f47a1b6eabb3c2839bf6d46a7
2 changes: 1 addition & 1 deletion src/node_file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,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