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: fix order of CHECK_NOT_NULL/dereference · nodejs/node@b8d145d

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • node_file.cc
Expand file treeCollapse file tree
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
@@ -1633,12 +1633,12 @@ static void Unlink(const FunctionCallbackInfo<Value>& args) {
16331633

16341634
if (argc > 1) { // unlink(path, req)
16351635
FSReqBase* req_wrap_async = GetReqWrap(args, 1);
1636+
CHECK_NOT_NULL(req_wrap_async);
16361637
ASYNC_THROW_IF_INSUFFICIENT_PERMISSIONS(
16371638
env,
16381639
req_wrap_async,
16391640
permission::PermissionScope::kFileSystemWrite,
16401641
path.ToStringView());
1641-
CHECK_NOT_NULL(req_wrap_async);
16421642
FS_ASYNC_TRACE_BEGIN1(
16431643
UV_FS_UNLINK, req_wrap_async, "path", TRACE_STR_COPY(*path))
16441644
AsyncCall(env, req_wrap_async, args, "unlink", UTF8, AfterNoArgs,

0 commit comments

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