From fb8d4be0b18b4c239e4a1eeb93a13e03515fc030 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 2 Jun 2022 22:29:58 +0300 Subject: continue documentation --- common/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/timer.c') diff --git a/common/timer.c b/common/timer.c index 5206840..0b4e7a9 100644 --- a/common/timer.c +++ b/common/timer.c @@ -51,7 +51,7 @@ static id_t __insert_timer(struct timer_node *ti) { struct sp_root *root = __cpu_timers(); struct sp_node *n = sp_root(root), *p = NULL; - enum sp_dir d; + enum sp_dir d = LEFT; while (n) { struct timer_node *t = container_of(n, struct timer_node, sp_n); if (ti->timer.cid == t->timer.cid) { -- cgit v1.3