core: remove the workaround, neither gcc nor clang generate a warning here.

This commit is contained in:
Simon Budig 2023-05-20 22:31:25 +02:00
parent 51311f913d
commit 289999ad52

View file

@ -227,8 +227,7 @@ gimp_parallel_run_async_independent_full (gint priority,
#elif defined (HAVE_UNISTD_H) && defined (__gnu_linux__)
if (task->priority)
{
(nice (task->priority) != -1);
/* ^-- avoid "unused result" warning */
nice (task->priority);
}
#endif