mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Silence maybe initialized warning in sigsuspend.
This commit is contained in:
parent
32feba2709
commit
24cf8f42b8
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ int sys_sigsuspend(const sigset_t* set)
|
|||
Process* process = CurrentProcess();
|
||||
Thread* thread = CurrentThread();
|
||||
|
||||
sigset_t old_signal_mask;
|
||||
sigset_t old_signal_mask; sigemptyset(&old_signal_mask);
|
||||
sigset_t new_signal_mask;
|
||||
|
||||
ScopedLock lock(&process->signal_lock);
|
||||
|
|
Loading…
Reference in a new issue