diff options
| author | Patrick Steinhardt <ps@pks.im> | 2016-08-05 10:57:42 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2016-08-05 10:57:42 +0200 |
| commit | 274a727e0bac38fdfe04e8b4999056169d48c325 (patch) | |
| tree | 92b00b0d349b4fc453e6988fd355b462215875c7 | |
| parent | 844f5b20627a09f1a52f3ca39f047ca7504712d5 (diff) | |
| download | libgit2-274a727e0bac38fdfe04e8b4999056169d48c325.tar.gz | |
apply: fix warning when initializing patch images
| -rw-r--r-- | src/apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apply.c b/src/apply.c index 40ba647f4..10bf1f492 100644 --- a/src/apply.c +++ b/src/apply.c @@ -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) |
