summaryrefslogtreecommitdiff
path: root/describe.c
diff options
context:
space:
mode:
Diffstat (limited to 'describe.c')
-rw-r--r--describe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/describe.c b/describe.c
index 00fa02adcc..a0180f548e 100644
--- a/describe.c
+++ b/describe.c
@@ -18,7 +18,7 @@ static int names = 0, allocs = 0;
static struct commit_name {
const struct commit *commit;
int prio; /* annotated tag = 2, tag = 1, head = 0 */
- char path[];
+ char path[FLEX_ARRAY]; /* more */
} **name_array = NULL;
static struct commit_name *match(struct commit *cmit)