Reacted on -Wextra -Wno-unused-parameter warnings of gcc for util_rbtree.c

This commit is contained in:
Thomas Schmitt 2011-05-21 23:21:14 +02:00
parent e839b7b368
commit 2b8d47ddd8

View File

@ -164,7 +164,7 @@ int iso_rbtree_insert(IsoRBTree *tree, void *data, void **item)
new = data; new = data;
added = 1; added = 1;
} else { } else {
struct iso_rbnode head = { 0 }; /* False tree root */ struct iso_rbnode head = { 0, {NULL, NULL}, 0 }; /* False tree root */
struct iso_rbnode *g, *t; /* Grandparent & parent */ struct iso_rbnode *g, *t; /* Grandparent & parent */
struct iso_rbnode *p, *q; /* Iterator & parent */ struct iso_rbnode *p, *q; /* Iterator & parent */