From: Lennart Poettering Date: Mon, 8 Oct 2018 18:53:35 +0000 (+0200) Subject: ptyfwd: voidify more calls (#10310) X-Git-Tag: v240~613 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4b3c7212349f077c333026d324c6f278e6e65693;p=thirdparty%2Fsystemd.git ptyfwd: voidify more calls (#10310) --- diff --git a/src/shared/ptyfwd.c b/src/shared/ptyfwd.c index c38ec81bbc1..942c3f31dc9 100644 --- a/src/shared/ptyfwd.c +++ b/src/shared/ptyfwd.c @@ -88,8 +88,8 @@ static void pty_forward_disconnect(PTYForward *f) { } /* STDIN/STDOUT should not be nonblocking normally, so let's unconditionally reset it */ - fd_nonblock(STDIN_FILENO, false); - fd_nonblock(STDOUT_FILENO, false); + (void) fd_nonblock(STDIN_FILENO, false); + (void) fd_nonblock(STDOUT_FILENO, false); } static int pty_forward_done(PTYForward *f, int rcode) {