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>
Florian Forster committed
Jun 18, 2006 at 17:18 UTC
571ea603a6464cab86dad2d470034e0f3b6e67df
1 file changed
+1
-2
builtin-read-tree.c
+1
-2
@@ -31,8 +31,7 @@ static int merge_size = 0;
31
32
static struct object_list *trees = NULL;
33
34
-static struct cache_entry df_conflict_entry = {
35
-};
34
+static struct cache_entry df_conflict_entry;
35
36
struct tree_entry_list {
37
struct tree_entry_list *next;