unix: fix a compiler warning

This commit is contained in:
Erick Tryzelaar 2011-09-10 08:51:48 -07:00 committed by Ben Noordhuis
parent 970018156f
commit 905fe71341

View File

@ -504,11 +504,11 @@ static int _futime(const uv_file file, double atime, double mtime) {
int uv_fs_futime(uv_loop_t* loop, uv_fs_t* req, uv_file file, double atime,
double mtime, uv_fs_cb cb) {
#if defined(HAVE_FUTIMES)
const char* path = NULL;
uv_fs_req_init(loop, req, UV_FS_FUTIME, path, cb);
#if defined(HAVE_FUTIMES)
WRAP_EIO(UV_FS_FUTIME, eio_futime, _futime, ARGS3(file, atime, mtime))
#else
uv_err_new(loop, ENOSYS);