CLEANUP: ebtree: remove another typo, a wrong initialization in insertion code
(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)
diff --git a/ebtree/ebmbtree.h b/ebtree/ebmbtree.h
index 8d1e4e5..121c59f 100644
--- a/ebtree/ebmbtree.h
+++ b/ebtree/ebmbtree.h
@@ -216,7 +216,7 @@
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;
@@ -554,7 +554,7 @@
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;