diff options
| author | Pierre-Olivier Latour <pol@mac.com> | 2015-06-15 09:52:40 -0700 |
|---|---|---|
| committer | Pierre-Olivier Latour <pol@mac.com> | 2015-06-15 09:55:12 -0700 |
| commit | 0f4d9c03676f4226f6af705ae3ad06fcc5a82eb5 (patch) | |
| tree | 7f88a390ac9618be23afb462deb0153302b186f5 /src/diff_patch.c | |
| parent | f621f087b2cb6f124a64a57ce2e0113dc92d53bb (diff) | |
| download | libgit2-0f4d9c03676f4226f6af705ae3ad06fcc5a82eb5.tar.gz | |
Fixed Xcode 6.1 build warnings
Diffstat (limited to 'src/diff_patch.c')
| -rw-r--r-- | src/diff_patch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff_patch.c b/src/diff_patch.c index 63253c2c5..60648f8d7 100644 --- a/src/diff_patch.c +++ b/src/diff_patch.c @@ -285,7 +285,7 @@ done: static int diff_binary(git_diff_output *output, git_patch *patch) { - git_diff_binary binary = { 0 }; + git_diff_binary binary = {{0}}; const char *old_data = patch->ofile.map.data; const char *new_data = patch->nfile.map.data; size_t old_len = patch->ofile.map.len, |
