spawn: fix a compiler warning (unused-variable)

This commit is contained in:
Jaroslav Kysela 2014-11-17 08:57:35 +01:00
parent 0d10db2514
commit 3f7ac5b5e0

View file

@ -101,7 +101,7 @@ spawn_pipe_write( th_pipe_t *p, const char *fmt, va_list ap )
char buf[512];
vsnprintf(buf, sizeof(buf), fmt, ap);
write(p->wr, buf, strlen(buf));
(void)write(p->wr, buf, strlen(buf));
}
void