From d884a9026f9cf4e1a894b24c2e7d044734bfafd2 Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Sun, 26 Jan 2025 02:45:01 +0300 Subject: [PATCH] clean twn_timer --- CMakeLists.txt | 3 ++- src/system/linux/twn_timer.c | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fc0c0c..2ea59fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -229,7 +229,8 @@ function(give_options target) -Wno-declaration-after-statement -Wno-unsafe-buffer-usage -Wno-unused-command-line-argument - -Wno-covered-switch-default) + -Wno-covered-switch-default + -Wno-disabled-macro-expansion) set(WARNING_FLAGS -Wall diff --git a/src/system/linux/twn_timer.c b/src/system/linux/twn_timer.c index 3fc51e9..ad7fb77 100644 --- a/src/system/linux/twn_timer.c +++ b/src/system/linux/twn_timer.c @@ -11,7 +11,6 @@ static timer_t timerid; -static sigset_t mask; static struct sigaction sa; static struct sigevent sev;