Skip to content

Commit fc5ec63

Browse files
committed
rt: Remove unused variable
1 parent 6841c77 commit fc5ec63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rt/rust_uvtmp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ class rust_uvtmp_thread : public rust_thread {
333333

334334
uv_timer_t *timer = (uv_timer_t *)malloc(sizeof(uv_timer_t));
335335
timer->data = td;
336-
int result = uv_timer_init(loop, timer);
337-
result = uv_timer_start(timer, timer_cb, td->timeout, 0);
336+
uv_timer_init(loop, timer);
337+
uv_timer_start(timer, timer_cb, td->timeout, 0);
338338
}
339339
}
340340

0 commit comments

Comments
 (0)