Remove useless assignment to union member

This commit is contained in:
Bob Polis 2024-01-24 09:19:17 +01:00
parent 4ac8765123
commit dedd67b0fd

View File

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