mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-21 12:27:38 +00:00
Fixes #2443 Zero size arrays are an extension
This commit is contained in:
parent
86cb34cb11
commit
f36d57b9bf
@ -63,7 +63,7 @@ struct git_reference {
|
||||
} target;
|
||||
|
||||
git_oid peel;
|
||||
char name[0];
|
||||
char name[GIT_FLEX_ARRAY];
|
||||
};
|
||||
|
||||
git_reference *git_reference__set_name(git_reference *ref, const char *name);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user