mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:35:06 +00:00
UserspaceEmulator: Fix conditionally uninitialized locals in virt$select
This commit is contained in:
parent
f7b1591a5c
commit
7688539402
1 changed files with 3 additions and 3 deletions
|
@ -633,9 +633,9 @@ int Emulator::virt$select(FlatPtr params_addr)
|
|||
Syscall::SC_select_params params;
|
||||
mmu().copy_from_vm(¶ms, params_addr, sizeof(params));
|
||||
|
||||
fd_set readfds;
|
||||
fd_set writefds;
|
||||
fd_set exceptfds;
|
||||
fd_set readfds {};
|
||||
fd_set writefds {};
|
||||
fd_set exceptfds {};
|
||||
struct timespec timeout;
|
||||
u32 sigmask;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue