diff options
Diffstat (limited to 'src/alarm.c')
-rw-r--r-- | src/alarm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alarm.c b/src/alarm.c index 5013735..470efdd 100644 --- a/src/alarm.c +++ b/src/alarm.c @@ -105,7 +105,7 @@ calculate_next_run(struct timeval *cand, struct timeval * get_next_alarm_run(struct timeval *next_run) { - struct rb_node *node = alarm_root.rb_node; + struct rb_node *node; struct timeval tv; gettimeofday(&tv, NULL); @@ -122,7 +122,7 @@ get_next_alarm_run(struct timeval *next_run) struct timeval * do_alarm_run(struct timeval *next_run) { - struct rb_node *node = alarm_root.rb_node; + struct rb_node *node; struct alarm_block *this, *tmp; struct timeval tv; |