From: Florian Forster Date: Sun, 18 Jun 2006 15:18:07 +0000 (+0200) Subject: Don't use empty structure initializers. X-Git-Tag: v1.4.1-rc1~19^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/571ea603a6464cab86dad2d470034e0f3b6e67df?hp=04f086071e780d921f6dac83b5ffc21c3a2d7bb6 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 Signed-off-by: Junio C Hamano --- diff --git a/builtin-read-tree.c b/builtin-read-tree.c index 04506da892..9a2099d730 100644 --- a/builtin-read-tree.c +++ b/builtin-read-tree.c @@ -31,8 +31,7 @@ static int merge_size = 0; 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 *next;