mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-16 16:12:53 +00:00
UserspaceEmulator: Fix conditionally uninitialized locals in virt$select
This commit is contained in:
parent
f7b1591a5c
commit
7688539402
Notes:
sideshowbarker
2024-07-19 03:30:48 +09:00
Author: https://github.com/bgianfo
Commit: 7688539402
Pull-request: https://github.com/SerenityOS/serenity/pull/3184
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/bugaevc
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