Don't use empty structure initializers.

Empty initializers for structures are not allowed in ANSI C99. This patch
removes such an initializer from `builtin-read-tree.c'. Since the struct was
static (and is therefore implicitely initialized to zero anyway) it wasn't
actually needed.

Signed-off-by: Florian Forster <octo@verplant.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Florian Forster 2006-06-18 17:18:07 +02:00 committed by Junio C Hamano
parent 04f086071e
commit 571ea603a6

View File

@ -31,8 +31,7 @@ static int merge_size = 0;
static struct object_list *trees = NULL; static struct object_list *trees = NULL;
static struct cache_entry df_conflict_entry = { static struct cache_entry df_conflict_entry;
};
struct tree_entry_list { struct tree_entry_list {
struct tree_entry_list *next; struct tree_entry_list *next;