diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-14 06:16:17 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-02-14 06:16:17 +0100 |
commit | d93b241a65b7b0c4dcb6e42f957da1ed212221db (patch) | |
tree | 8bb20815070ab8635e2afe06562079e5db1eb629 /src | |
parent | 23010c60d4dac2d6138ade50f16af322c0ac2acf (diff) | |
download | tdv-d93b241a65b7b0c4dcb6e42f957da1ed212221db.tar.gz tdv-d93b241a65b7b0c4dcb6e42f957da1ed212221db.tar.xz tdv-d93b241a65b7b0c4dcb6e42f957da1ed212221db.zip |
Silence a warning
We don't care if we read a byte from the pipe.
Diffstat (limited to 'src')
-rw-r--r-- | src/sdtui.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |