Remove useless assignment to union member
This commit is contained in:
parent
4ac8765123
commit
dedd67b0fd
@ -25,7 +25,6 @@ sc::timer::timer(double time,
|
|||||||
}
|
}
|
||||||
struct sigevent se;
|
struct sigevent se;
|
||||||
se.sigev_notify = SIGEV_THREAD;
|
se.sigev_notify = SIGEV_THREAD;
|
||||||
se.sigev_value.sival_int = 0;
|
|
||||||
se.sigev_value.sival_ptr = this;
|
se.sigev_value.sival_ptr = this;
|
||||||
se.sigev_notify_function = callback;
|
se.sigev_notify_function = callback;
|
||||||
se.sigev_notify_attributes = nullptr;
|
se.sigev_notify_attributes = nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user