odb_mempack: mark zero-length array as GIT_FLEX_ARRAY

This commit is contained in:
Patrick Steinhardt 2016-11-25 15:00:20 +01:00
parent ab0cc5a059
commit 8468a44067

View File

@ -24,7 +24,7 @@ struct memobject {
git_oid oid; git_oid oid;
size_t len; size_t len;
git_otype type; git_otype type;
char data[]; char data[GIT_FLEX_ARRAY];
}; };
struct memory_packer_db { struct memory_packer_db {