diff --git a/receive-pack.c b/receive-pack.c
index e79de917b542eb35d6b5752837b25ccae897646e..f847ec2b54b74e2b9bee7bde8fccbaa8ee569573 100644 (file)
--- a/receive-pack.c
+++ b/receive-pack.c
const char *error_string;
unsigned char old_sha1[20];
unsigned char new_sha1[20];
- char ref_name[0];
+ char ref_name[FLEX_ARRAY]; /* more */
};
static struct command *commands = NULL;