From 2b8d47ddd81db27412ad967114b9b07fd2b9e30e Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 21 May 2011 23:21:14 +0200 Subject: [PATCH] Reacted on -Wextra -Wno-unused-parameter warnings of gcc for util_rbtree.c --- libisofs/util_rbtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libisofs/util_rbtree.c b/libisofs/util_rbtree.c index f4454ae..0c18339 100644 --- a/libisofs/util_rbtree.c +++ b/libisofs/util_rbtree.c @@ -164,7 +164,7 @@ int iso_rbtree_insert(IsoRBTree *tree, void *data, void **item) new = data; added = 1; } 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 *p, *q; /* Iterator & parent */