Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Riedy <ejr@cs.berkeley.edu>2005-08-24 00:31:09 +0400
committerJason Riedy <ejr@cs.berkeley.edu>2005-08-24 07:41:11 +0400
commit6c5f9baa3bc0d63e141e0afc23110205379905a4 (patch)
tree3fd2a88512168179a81756768f444ecf3ccd23d6 /commit.c
parent2a29da7c6d6103c4719c71f6cce88e853260912c (diff)
Replace zero-length array decls with [].
C99 denotes variable-sized members with [], not [0]. Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.c b/commit.c
index e51eda1524..56192587af 100644
--- a/commit.c
+++ b/commit.c
@@ -102,7 +102,7 @@ static unsigned long parse_commit_date(const char *buf)
static struct commit_graft {
unsigned char sha1[20];
int nr_parent;
- unsigned char parent[0][20]; /* more */
+ unsigned char parent[][20]; /* more */
} **commit_graft;
static int commit_graft_alloc, commit_graft_nr;