Silence a warning

We don't care if we read a byte from the pipe.
This commit is contained in:
Přemysl Eric Janouch 2015-02-14 06:16:17 +01:00
parent 23010c60d4
commit d93b241a65

View File

@ -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);