Commit 8468a440 by Patrick Steinhardt

odb_mempack: mark zero-length array as GIT_FLEX_ARRAY

parent ab0cc5a0
......@@ -24,7 +24,7 @@ struct memobject {
git_oid oid;
size_t len;
git_otype type;
char data[];
char data[GIT_FLEX_ARRAY];
};
struct memory_packer_db {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment