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 /receive-pack.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 'receive-pack.c')
-rw-r--r-- | receive-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/receive-pack.c b/receive-pack.c index 9026f1bf82..3a1b2ab694 100644 --- a/receive-pack.c +++ b/receive-pack.c @@ -24,7 +24,7 @@ struct command { unsigned char updated; unsigned char old_sha1[20]; unsigned char new_sha1[20]; - char ref_name[0]; + char ref_name[]; }; static struct command *commands = NULL; |