summaryrefslogtreecommitdiff
path: root/src/alarm.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-02-14 14:19:56 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-02-14 14:19:56 +0000
commitbc7329870e82a9909cfc01e4876ebcc5adeef629 (patch)
tree988f0222f6143c51a1b3830f8acc5e6ec38ff374 /src/alarm.c
parentef56ba7fa2103984eefce9eb01227feab6fa2898 (diff)
downloadconntrack-tools-bc7329870e82a9909cfc01e4876ebcc5adeef629.tar.gz
conntrack-tools-bc7329870e82a9909cfc01e4876ebcc5adeef629.zip
From: Max Kellermann <max@duempel.org>
eliminate duplicated initialization
Diffstat (limited to 'src/alarm.c')
-rw-r--r--src/alarm.c4
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;