Skip to content

Commit 9a9fccc

Browse files
committed
Suppress a bogus maybe uninitialized warning.
1 parent 7eea435 commit 9a9fccc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/record_syscall.cc

+3
Original file line numberDiff line numberDiff line change
@@ -6763,6 +6763,9 @@ static void rec_process_syscall_arch(RecordTask* t,
67636763
case Arch::openat2:
67646764
flags = t->read_mem(remote_ptr<int64_t>(r.arg3()));
67656765
break;
6766+
default:
6767+
DEBUG_ASSERT(0 && "Unknown syscallno");
6768+
__builtin_unreachable();
67666769
}
67676770

67686771
string pathname = handle_opened_file(t, fd, flags);

0 commit comments

Comments
 (0)