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: improve startup time · nodejs/node@56a2ae9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/node.cc‎

Copy file name to clipboardExpand all lines: src/node.cc
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3706,7 +3706,8 @@ void Init(int* argc,
37063706
#endif
37073707
// The const_cast doesn't violate conceptual const-ness. V8 doesn't modify
37083708
// the argv array or the elements it points to.
3709-
V8::SetFlagsFromCommandLine(&v8_argc, const_cast<char**>(v8_argv), true);
3709+
if (v8_argc != 0)
3710+
V8::SetFlagsFromCommandLine(&v8_argc, const_cast<char**>(v8_argv), true);
37103711

37113712
// Anything that's still in v8_argv is not a V8 or a node option.
37123713
for (int i = 1; i < v8_argc; i++) {

0 commit comments

Comments
0 (0)
You are visitor 01402775 — 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.