Fix build machine warning.

This commit is contained in:
Robin Davies
2023-07-03 08:02:32 -04:00
parent df2170f7cf
commit 73fea660e8
+1 -1
View File
@@ -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;