diff --git a/src/unix/core.c b/src/unix/core.c index a3529776..a016d1b3 100644 --- a/src/unix/core.c +++ b/src/unix/core.c @@ -323,7 +323,6 @@ int64_t uv_now(uv_loop_t* loop) { void uv__req_init(uv_req_t* req) { /* loop->counters.req_init++; */ req->type = UV_UNKNOWN_REQ; - req->data = NULL; } diff --git a/test/test-fs.c b/test/test-fs.c index 032128f2..1f14abff 100644 --- a/test/test-fs.c +++ b/test/test-fs.c @@ -760,6 +760,7 @@ TEST_IMPL(fs_chmod) { ASSERT(r == 0); uv_run(loop); ASSERT(chmod_cb_count == 1); + chmod_cb_count = 0; /* reset for the next test */ #endif /* async chmod */