diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-12-05 15:12:34 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-12-05 15:12:34 -0800 |
commit | e72c1dd3bd3b6b2255707136348628a99d3b74a5 (patch) | |
tree | 4d9e54df2b2bf28faccd14cc7b0882ccb066729c /builtin/diff.c | |
parent | Merge branch 'nd/prune-progress' (diff) | |
parent | cast variable in call to free() in builtin/diff.c and submodule.c (diff) | |
download | tgif-e72c1dd3bd3b6b2255707136348628a99d3b74a5.tar.xz |
Merge branch 'ab/clang-lints'
* ab/clang-lints:
cast variable in call to free() in builtin/diff.c and submodule.c
apply: get rid of useless x < 0 comparison on a size_t type
Diffstat (limited to 'builtin/diff.c')
-rw-r--r-- | builtin/diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/diff.c b/builtin/diff.c index 1118689fb2..0fe638fc45 100644 --- a/builtin/diff.c +++ b/builtin/diff.c @@ -182,7 +182,7 @@ static int builtin_diff_combined(struct rev_info *revs, hashcpy((unsigned char *)(parent + i), ent[i].item->sha1); diff_tree_combined(parent[0], parent + 1, ents - 1, revs->dense_combined_merges, revs); - free(parent); + free((void *)parent); return 0; } |