mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 05:28:34 +00:00
odb_mempack: mark zero-length array as GIT_FLEX_ARRAY
This commit is contained in:
parent
ab0cc5a059
commit
8468a44067
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user