diff options
author | Jason Riedy <ejr@cs.berkeley.edu> | 2005-08-23 22:31:09 +0200 |
---|---|---|
committer | Jason Riedy <ejr@cs.berkeley.edu> | 2005-08-24 05:41:11 +0200 |
commit | 6c5f9baa3bc0d63e141e0afc23110205379905a4 (patch) | |
tree | 3fd2a88512168179a81756768f444ecf3ccd23d6 /commit.c | |
parent | Tutorial updates. (diff) | |
download | git-6c5f9baa3bc0d63e141e0afc23110205379905a4.tar.xz git-6c5f9baa3bc0d63e141e0afc23110205379905a4.zip |
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; |