summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibuv/src/timer.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-11-17 11:40:02 (GMT)
committerBrad King <brad.king@kitware.com>2021-11-17 11:40:02 (GMT)
commit74a05716a453d1cffbba4a1b300c7cafea17b8f5 (patch)
treea8b1b793607796938219d94a57ba4ce2924e3c8f /Utilities/cmlibuv/src/timer.c
parent65fb29fdfbe1663fe0f050214c43bf24238fbbfe (diff)
parent27e34e6190ba1014c20ef5e8ffa7d653595ced12 (diff)
downloadCMake-74a05716a453d1cffbba4a1b300c7cafea17b8f5.zip
CMake-74a05716a453d1cffbba4a1b300c7cafea17b8f5.tar.gz
CMake-74a05716a453d1cffbba4a1b300c7cafea17b8f5.tar.bz2
Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv: libuv 2021-11-09 (0f696da5)
Diffstat (limited to 'Utilities/cmlibuv/src/timer.c')
-rw-r--r--Utilities/cmlibuv/src/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/src/timer.c b/Utilities/cmlibuv/src/timer.c
index 1bea2a8..bc680e7 100644
--- a/Utilities/cmlibuv/src/timer.c
+++ b/Utilities/cmlibuv/src/timer.c
@@ -58,6 +58,7 @@ static int timer_less_than(const struct heap_node* ha,
int uv_timer_init(uv_loop_t* loop, uv_timer_t* handle) {
uv__handle_init(loop, (uv_handle_t*)handle, UV_TIMER);
handle->timer_cb = NULL;
+ handle->timeout = 0;
handle->repeat = 0;
return 0;
}