mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
Merge pull request #6618 from Icinga/bugfix/nice-compiler-warning
Silence compiler warning for nice()
This commit is contained in:
commit
6f23d11e53
@ -165,7 +165,7 @@ static Value ProcessSpawnImpl(struct msghdr *msgh, const Dictionary::Ptr& reques
|
|||||||
|
|
||||||
#ifdef HAVE_NICE
|
#ifdef HAVE_NICE
|
||||||
if (adjustPriority)
|
if (adjustPriority)
|
||||||
nice(5);
|
(void)nice(5);
|
||||||
#endif /* HAVE_NICE */
|
#endif /* HAVE_NICE */
|
||||||
|
|
||||||
sigset_t mask;
|
sigset_t mask;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user