diff options
Diffstat (limited to 'examples/diff.c')
-rw-r--r-- | examples/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/diff.c b/examples/diff.c index 2305c8652..a9fb5d442 100644 --- a/examples/diff.c +++ b/examples/diff.c @@ -344,7 +344,7 @@ static void parse_opts(struct diff_options *o, int argc, char *argv[]) static void diff_print_stats(git_diff *diff, struct diff_options *o) { git_diff_stats *stats; - git_buf b = GIT_BUF_INIT_CONST(NULL, 0); + git_buf b = GIT_BUF_INIT; git_diff_stats_format_t format = 0; check_lg2( |