From b81ac972b9020982b53378704b147fee250fadc3 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 14 Sep 2018 14:29:52 +0200 Subject: [PATCH] Silence compiler warning for nice() --- lib/base/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/base/process.cpp b/lib/base/process.cpp index d5d3d69d2..f84bc497c 100644 --- a/lib/base/process.cpp +++ b/lib/base/process.cpp @@ -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;