From dedd67b0fd72f30f92d64486b97062d0953d31c8 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 24 Jan 2024 09:19:17 +0100 Subject: [PATCH] Remove useless assignment to union member --- src/timer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/timer.cpp b/src/timer.cpp index 1ca03b0..0e670ca 100644 --- a/src/timer.cpp +++ b/src/timer.cpp @@ -25,7 +25,6 @@ sc::timer::timer(double time, } struct sigevent se; se.sigev_notify = SIGEV_THREAD; - se.sigev_value.sival_int = 0; se.sigev_value.sival_ptr = this; se.sigev_notify_function = callback; se.sigev_notify_attributes = nullptr;