aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rbtree_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbtree_test.c')
-rw-r--r--lib/rbtree_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c
index 268b23951fec..d7f491a54579 100644
--- a/lib/rbtree_test.c
+++ b/lib/rbtree_test.c
@@ -118,7 +118,7 @@ static void check(int nr_nodes)
118{ 118{
119 struct rb_node *rb; 119 struct rb_node *rb;
120 int count = 0; 120 int count = 0;
121 int blacks; 121 int blacks = 0;
122 u32 prev_key = 0; 122 u32 prev_key = 0;
123 123
124 for (rb = rb_first(&root); rb; rb = rb_next(rb)) { 124 for (rb = rb_first(&root); rb; rb = rb_next(rb)) {