GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: remove shadowed variable in OptionsParser · nodejs/node@b25ee52

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_options-inl.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node_options-inl.h‎

Copy file name to clipboardExpand all lines: src/node_options-inl.h
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -387,12 +387,12 @@ void OptionsParser<Options>::Parse(
387387
implied_name.insert(2, "no-");
388388
}
389389
auto implications = implications_.equal_range(implied_name);
390-
for (auto it = implications.first; it != implications.second; ++it) {
391-
if (it->second.type == kV8Option) {
392-
v8_args->push_back(it->second.name);
390+
for (auto imp = implications.first; imp != implications.second; ++imp) {
391+
if (imp->second.type == kV8Option) {
392+
v8_args->push_back(imp->second.name);
393393
} else {
394-
*it->second.target_field->template Lookup<bool>(options) =
395-
it->second.target_value;
394+
*imp->second.target_field->template Lookup<bool>(options) =
395+
imp->second.target_value;
396396
}
397397
}
398398
}

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.