From 73fea660e84a99ec09987a670056abd2f1663765 Mon Sep 17 00:00:00 2001 From: Robin Davies Date: Mon, 3 Jul 2023 08:02:32 -0400 Subject: [PATCH] Fix build machine warning. --- src/Worker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker.cpp b/src/Worker.cpp index f3ec6c5..7e30685 100644 --- a/src/Worker.cpp +++ b/src/Worker.cpp @@ -190,7 +190,7 @@ void HostWorkerThread::ThreadProc() noexcept // run nice +2 (priority -2 on Windows) SetThreadName("lv2_worker"); errno = 0; - nice(2); + (void)nice(2); if (errno != 0) { std::cout << "Warning: Unable to run Lv2 schedule thread at nice +1" << std::endl;