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;