(from ebtree 6.0.7)
root_right was wrongly initialized first to <root> which is not the same
type, to be later initialized to root->b[EB_RGHT].
Let's simply remove the wrong and useless initialization.
(cherry picked from commit
e63a0c2f56369b52c4d00221d83c2c4569605c06)
unsigned int side;
eb_troot_t *troot, **up_ptr;
u32 newkey; /* caching the key saves approximately one cycle */
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
eb_troot_t *new_left, *new_rght;
eb_troot_t *new_leaf;
int old_node_bit;
unsigned int side;
eb_troot_t *troot, **up_ptr;
int newkey; /* caching the key saves approximately one cycle */
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
eb_troot_t *new_left, *new_rght;
eb_troot_t *new_leaf;
int old_node_bit;
unsigned int side;
eb_troot_t *troot;
u64 newkey; /* caching the key saves approximately one cycle */
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
int old_node_bit;
side = EB_LEFT;
unsigned int side;
eb_troot_t *troot;
u64 newkey; /* caching the key saves approximately one cycle */
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
int old_node_bit;
side = EB_LEFT;
struct ebpt_node *old;
unsigned int side;
eb_troot_t *troot;
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
int diff;
int bit;
int old_node_bit;
struct ebpt_node *old;
unsigned int side;
eb_troot_t *troot;
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
int diff;
int bit;
int old_node_bit;
struct ebmb_node *old;
unsigned int side;
eb_troot_t *troot, **up_ptr;
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
int diff;
int bit;
eb_troot_t *new_left, *new_rght;
struct ebmb_node *old;
unsigned int side;
eb_troot_t *troot, **up_ptr;
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
int diff;
int bit;
eb_troot_t *new_left, *new_rght;
struct ebmb_node *old;
unsigned int side;
eb_troot_t *troot;
- eb_troot_t *root_right = root;
+ eb_troot_t *root_right;
int diff;
int bit;
int old_node_bit;