From 8d2fa34a524f0456e863a22568d6609dcb9ce82a Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Fri, 20 Jan 2012 16:44:33 +0000 Subject: (void)-cast calls to write() in driver-ti start/stop since we don't -really- care if they fail, there's not much we can do about it --- driver-ti.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver-ti.c b/driver-ti.c index e8515e3..cbf4a13 100644 --- a/driver-ti.c +++ b/driver-ti.c @@ -298,7 +298,7 @@ static void start_driver(TermKey *tk, void *info) */ if(tk->fd != -1 && ti->start_string) { // Can't call putp or tputs because they suck and don't give us fd control - write(tk->fd, ti->start_string, strlen(ti->start_string)); + (void)write(tk->fd, ti->start_string, strlen(ti->start_string)); } } @@ -308,7 +308,7 @@ static void stop_driver(TermKey *tk, void *info) if(tk->fd != -1 && ti->stop_string) { // Can't call putp or tputs because they suck and don't give us fd control - write(tk->fd, ti->stop_string, strlen(ti->stop_string)); + (void)write(tk->fd, ti->stop_string, strlen(ti->stop_string)); } } -- cgit v1.2.3-70-g09d2