openbsd: fix uv_fs_sendfile() unused variable warnings

This commit is contained in:
Ben Noordhuis 2013-08-05 02:23:35 +02:00
parent 103969ac8e
commit fb2a6d4a15

View File

@ -468,6 +468,10 @@ static ssize_t uv__fs_sendfile(uv_fs_t* req) {
return -1;
}
#else
/* Squelch compiler warnings. */
(void) &in_fd;
(void) &out_fd;
return uv__fs_sendfile_emul(req);
#endif
}