From 80ff0e15965e75532e9cd127bf06ec20ee4f1816 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Mon, 30 Oct 2017 18:39:47 +0300 Subject: tests: fixed some 'unused return value' compiler warnings --- src/testzzuf/socat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/testzzuf') diff --git a/src/testzzuf/socat.c b/src/testzzuf/socat.c index 3daa54a5..b21f2c6f 100644 --- a/src/testzzuf/socat.c +++ b/src/testzzuf/socat.c @@ -73,7 +73,7 @@ zzuf_socat_start () } if (zzuf_pid != 0) { - sleep (1); /* allow zzuf and socat to start */ + (void)sleep (1); /* allow zzuf and socat to start */ status = 0; if (0 < waitpid (zzuf_pid, &status, WNOHANG)) { @@ -106,7 +106,7 @@ zzuf_socat_stop () fprintf (stderr, "Failed to killpg: %s\n", strerror (errno)); kill (zzuf_pid, SIGINT); waitpid (zzuf_pid, &status, 0); - sleep (1); /* allow socat to also die in peace */ + (void)sleep (1); /* allow socat to also die in peace */ } } -- cgit v1.2.3