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:
parent
6b84d75dc1
commit
ab44f4ef80
@ -360,7 +360,7 @@ static void
|
||||
rb_tree_insert_rebalance(struct rb_tree *rbt, struct rb_node *self)
|
||||
{
|
||||
struct rb_node * father = RB_FATHER(self);
|
||||
struct rb_node * grandpa = RB_FATHER(father);
|
||||
struct rb_node * grandpa;
|
||||
struct rb_node * uncle;
|
||||
unsigned int which;
|
||||
unsigned int other;
|
||||
|
Loading…
Reference in New Issue
Block a user