diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 268b23951fec871d77a790c290637b3d3caf75e8..d7f491a5457915a949ebd5cd33863e4d721f9cf0 100644 --- a/lib/rbtree_test.c +++ b/lib/rbtree_test.c @@ -118,7 +118,7 @@ static void check(int nr_nodes) { struct rb_node *rb; int count = 0; - int blacks; + int blacks = 0; u32 prev_key = 0; for (rb = rb_first(&root); rb; rb = rb_next(rb)) {