Skip to content

Commit 274a727

Browse files
committed
apply: fix warning when initializing patch images
1 parent 844f5b2 commit 274a727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apply.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static void patch_line_init(
3838
out->content_offset = in_offset;
3939
}
4040

41-
#define PATCH_IMAGE_INIT { {0} }
41+
#define PATCH_IMAGE_INIT { GIT_POOL_INIT, GIT_VECTOR_INIT }
4242

4343
static int patch_image_init_fromstr(
4444
patch_image *out, const char *in, size_t in_len)

0 commit comments

Comments
 (0)