mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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:
parent
b06fe33de1
commit
6d5c33525a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user