diff options
author | Jason Riedy <ejr@cs.berkeley.edu> | 2005-08-23 13:31:09 -0700 |
---|---|---|
committer | Jason Riedy <ejr@cs.berkeley.edu> | 2005-08-23 20:41:11 -0700 |
commit | 6c5f9baa3bc0d63e141e0afc23110205379905a4 (patch) | |
tree | 3fd2a88512168179a81756768f444ecf3ccd23d6 /commit.c | |
parent | 2a29da7c6d6103c4719c71f6cce88e853260912c (diff) | |
download | git-6c5f9baa3bc0d63e141e0afc23110205379905a4.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |