Skip to content

Commit

Permalink
Suppress a bogus maybe uninitialized warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
khuey committed Apr 16, 2024
1 parent 7eea435 commit 9a9fccc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/record_syscall.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6763,6 +6763,9 @@ static void rec_process_syscall_arch(RecordTask* t,
case Arch::openat2:
flags = t->read_mem(remote_ptr<int64_t>(r.arg3()));
break;
default:
DEBUG_ASSERT(0 && "Unknown syscallno");
__builtin_unreachable();
}

string pathname = handle_opened_file(t, fd, flags);
Expand Down

0 comments on commit 9a9fccc

Please sign in to comment.