aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-02-14 06:16:17 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-02-14 06:16:17 +0100
commitd93b241a65b7b0c4dcb6e42f957da1ed212221db (patch)
tree8bb20815070ab8635e2afe06562079e5db1eb629
parent23010c60d4dac2d6138ade50f16af322c0ac2acf (diff)
downloadtdv-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.
-rw-r--r--src/sdtui.c2
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);