diff --git a/src/rt/rust_uvtmp.cpp b/src/rt/rust_uvtmp.cpp index 63dcd7b64f2..7f4b425e5ec 100644 --- a/src/rt/rust_uvtmp.cpp +++ b/src/rt/rust_uvtmp.cpp @@ -333,8 +333,8 @@ private: uv_timer_t *timer = (uv_timer_t *)malloc(sizeof(uv_timer_t)); timer->data = td; - int result = uv_timer_init(loop, timer); - result = uv_timer_start(timer, timer_cb, td->timeout, 0); + uv_timer_init(loop, timer); + uv_timer_start(timer, timer_cb, td->timeout, 0); } }