lib/portableproplib/rb.c: fix dead initialization.

Found by clang analyzer.

Bug Summary
File: lib/portableproplib/rb.c
Warning: line 363, column 19
Value stored to 'grandpa' during its initialization is never read
This commit is contained in:
Juan RP 2019-06-18 17:11:27 +02:00
parent 6b84d75dc1
commit ab44f4ef80

View File

@ -360,7 +360,7 @@ static void
rb_tree_insert_rebalance(struct rb_tree *rbt, struct rb_node *self) rb_tree_insert_rebalance(struct rb_tree *rbt, struct rb_node *self)
{ {
struct rb_node * father = RB_FATHER(self); struct rb_node * father = RB_FATHER(self);
struct rb_node * grandpa = RB_FATHER(father); struct rb_node * grandpa;
struct rb_node * uncle; struct rb_node * uncle;
unsigned int which; unsigned int which;
unsigned int other; unsigned int other;