aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-06-02 22:29:58 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-06-02 22:29:58 +0300
commitfb8d4be0b18b4c239e4a1eeb93a13e03515fc030 (patch)
treeab8d234c99cefa6ae9dbc04eb248b7d50cdba5d6 /common
parentb5e6a74635eba8e6c5fe0a614c6f578380fb1196 (diff)
downloadkmi-fb8d4be0b18b4c239e4a1eeb93a13e03515fc030.tar.gz
kmi-fb8d4be0b18b4c239e4a1eeb93a13e03515fc030.zip
continue documentation
Diffstat (limited to 'common')
-rw-r--r--common/timer.c2
1 files changed, 1 insertions, 1 deletions
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) {