core: remove the workaround, neither gcc nor clang generate a warning here.
This commit is contained in:
parent
51311f913d
commit
289999ad52
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue