builtin-pack-objects.c: avoid vla
authorJunio C Hamano <gitster@pobox.com>
Tue, 1 Sep 2009 09:18:52 +0000 (02:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Sep 2009 14:55:56 +0000 (07:55 -0700)
commitdcda3614d44bf83aaeb7632353ab668bc689986c
treebd77dc2f9fd5ad32a9d99c3113403a1b5756366e
parenteeefa7c90e1b754a2b01d73fd93aaf90afdc4914
builtin-pack-objects.c: avoid vla

This is one of only two places that we use C99 variable length array on
the stack, which some older compilers apparently are not happy with.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c