From d93b241a65b7b0c4dcb6e42f957da1ed212221db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sat, 14 Feb 2015 06:16:17 +0100 Subject: [PATCH] Silence a warning We don't care if we read a byte from the pipe. --- src/sdtui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdtui.c b/src/sdtui.c index 8456fb2..0a9a71d 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -1266,7 +1266,7 @@ process_winch_input (GIOChannel *source, Application *app = data; char c; - read (g_io_channel_unix_get_fd (source), &c, 1); + (void) read (g_io_channel_unix_get_fd (source), &c, 1); update_curses_terminal_size (); app_process_resize (app);