From bc7329870e82a9909cfc01e4876ebcc5adeef629 Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org" Date: Thu, 14 Feb 2008 14:19:56 +0000 Subject: From: Max Kellermann eliminate duplicated initialization --- src/alarm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/alarm.c') 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; -- cgit v1.2.3