Commit 274a727e by Patrick Steinhardt

apply: fix warning when initializing patch images

parent 844f5b20
...@@ -38,7 +38,7 @@ static void patch_line_init( ...@@ -38,7 +38,7 @@ static void patch_line_init(
out->content_offset = in_offset; 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( static int patch_image_init_fromstr(
patch_image *out, const char *in, size_t in_len) patch_image *out, const char *in, size_t in_len)
......
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