mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-03 23:59:05 +00:00
apply: fix warning when initializing patch images
This commit is contained in:
parent
844f5b2062
commit
274a727e0b
@ -38,7 +38,7 @@ static void patch_line_init(
|
||||
out->content_offset = in_offset;
|
||||
}
|
||||
|
||||
#define PATCH_IMAGE_INIT { {0} }
|
||||
#define PATCH_IMAGE_INIT { GIT_POOL_INIT, GIT_VECTOR_INIT }
|
||||
|
||||
static int patch_image_init_fromstr(
|
||||
patch_image *out, const char *in, size_t in_len)
|
||||
|
Loading…
Reference in New Issue
Block a user