From 6c5f9baa3bc0d63e141e0afc23110205379905a4 Mon Sep 17 00:00:00 2001 From: Jason Riedy Date: Tue, 23 Aug 2005 13:31:09 -0700 Subject: Replace zero-length array decls with []. C99 denotes variable-sized members with [], not [0]. Signed-off-by: Jason Riedy --- commit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commit.c') 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; -- cgit v1.2.3