projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
372bb52
)
Don't use empty structure initializers.
author
Florian Forster
<octo@verplant.org>
Sun, 18 Jun 2006 14:55:24 +0000
(16:55 +0200)
committer
Florian Forster
<octo@verplant.org>
Sun, 18 Jun 2006 14:55:24 +0000
(16:55 +0200)
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.
builtin-read-tree.c
patch
|
blob
|
history
diff --git
a/builtin-read-tree.c
b/builtin-read-tree.c
index
bb50fbd
..
fdd6706
100644
(file)
--- a/
builtin-read-tree.c
+++ b/
builtin-read-tree.c
@@
-30,8
+30,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;