Merge pull request #6618 from Icinga/bugfix/nice-compiler-warning

Silence compiler warning for nice()
This commit is contained in:
Michael Friedrich 2018-09-17 11:16:29 +02:00 committed by GitHub
commit 6f23d11e53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ static Value ProcessSpawnImpl(struct msghdr *msgh, const Dictionary::Ptr& reques
#ifdef HAVE_NICE
if (adjustPriority)
nice(5);
(void)nice(5);
#endif /* HAVE_NICE */
sigset_t mask;