mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 02:55:07 +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;
|
Syscall::SC_select_params params;
|
||||||
mmu().copy_from_vm(¶ms, params_addr, sizeof(params));
|
mmu().copy_from_vm(¶ms, params_addr, sizeof(params));
|
||||||
|
|
||||||
fd_set readfds;
|
fd_set readfds {};
|
||||||
fd_set writefds;
|
fd_set writefds {};
|
||||||
fd_set exceptfds;
|
fd_set exceptfds {};
|
||||||
struct timespec timeout;
|
struct timespec timeout;
|
||||||
u32 sigmask;
|
u32 sigmask;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue