mirror of https://github.com/Icinga/icinga2.git
Silence compiler warning for nice()
This commit is contained in:
parent
c9db7a0dac
commit
b81ac972b9
|
@ -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…
Reference in New Issue