[master] 52d7fc834 Ignore return-value from nice(), it's not important and has a useless spec.

Poul-Henning Kamp phk at FreeBSD.org
Mon Feb 18 16:03:09 UTC 2019


commit 52d7fc8343a887f9ca1a9bdb58d1ffa8bb1f9e71
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Feb 18 16:01:45 2019 +0000

    Ignore return-value from nice(), it's not important and has a useless spec.

diff --git a/bin/varnishtest/vtc_main.c b/bin/varnishtest/vtc_main.c
index 1a7fa98a2..0f4b144d2 100644
--- a/bin/varnishtest/vtc_main.c
+++ b/bin/varnishtest/vtc_main.c
@@ -228,7 +228,7 @@ cleaner_setup(void)
 	assert(cleaner_pid >= 0);
 	if (cleaner_pid == 0) {
 		closefd(&p[1]);
-		AZ(nice(1));
+		(void)nice(1);		/* Not important */
 		setbuf(stdin, NULL);
 		AZ(dup2(p[0], STDIN_FILENO));
 		while (fgets(buf, sizeof buf, stdin)) {


More information about the varnish-commit mailing list