Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c302cae

Browse filesBrowse files
sapicsaddaleax
authored andcommitted
src: remove unused variable in node_file.cc
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>
1 parent f70cbc6 commit c302cae
Copy full SHA for c302cae

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/node_file.cc‎

Copy file name to clipboardExpand all lines: src/node_file.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,7 @@ static void ReadDir(const FunctionCallbackInfo<Value>& args) {
15871587
std::vector<Local<Value>> name_v;
15881588
std::vector<Local<Value>> type_v;
15891589

1590-
for (int i = 0; ; i++) {
1590+
for (;;) {
15911591
uv_dirent_t ent;
15921592

15931593
r = uv_fs_scandir_next(&(req_wrap_sync.req), &ent);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.