mirror of
https://github.com/fluencelabs/musl
synced 2025-06-21 10:41:53 +00:00
remove unused var in new sigaction code
This commit is contained in:
@ -13,7 +13,7 @@ weak_alias(dummy, __pthread_self_def);
|
|||||||
|
|
||||||
int __libc_sigaction(int sig, const struct sigaction *sa, struct sigaction *old)
|
int __libc_sigaction(int sig, const struct sigaction *sa, struct sigaction *old)
|
||||||
{
|
{
|
||||||
struct k_sigaction ksa, *pksa=0;
|
struct k_sigaction ksa;
|
||||||
if (sa) {
|
if (sa) {
|
||||||
ksa.handler = sa->sa_handler;
|
ksa.handler = sa->sa_handler;
|
||||||
ksa.flags = sa->sa_flags | SA_RESTORER;
|
ksa.flags = sa->sa_flags | SA_RESTORER;
|
||||||
|
Reference in New Issue
Block a user