From: Christian Brauner Date: Fri, 15 Jun 2018 10:55:06 +0000 (+0200) Subject: coverity: #1425840 X-Git-Tag: lxc-2.0.10~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45550376b4fc561c6def804b35b131af1568011f;p=thirdparty%2Flxc.git coverity: #1425840 Unchecked return value Signed-off-by: Christian Brauner --- diff --git a/src/lxc/tools/lxc_top.c b/src/lxc/tools/lxc_top.c index 0f76abce7..cd57c675d 100644 --- a/src/lxc/tools/lxc_top.c +++ b/src/lxc/tools/lxc_top.c @@ -118,7 +118,7 @@ Options :\n\ static void stdin_tios_restore(void) { - tcsetattr(0, TCSAFLUSH, &oldtios); + (void)tcsetattr(0, TCSAFLUSH, &oldtios); fprintf(stderr, "\n"); }