spawn: fix a compiler warning (unused-variable)
This commit is contained in:
parent
0d10db2514
commit
3f7ac5b5e0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue