1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2015-11-22 00:42:10 +01:00
parent 32feba2709
commit 24cf8f42b8

View file

@ -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);