summaryrefslogtreecommitdiff
path: root/diff-tree.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-22 14:33:43 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-22 14:33:43 -0700
commit09d74b3b5ac634495e17b92b2b785fa996ffce97 (patch)
treeb29577975924514627a709b23726578094243c54 /diff-tree.c
parent6f97a894d6fe78c9ae24a128e6b93765b4cc76ff (diff)
downloadgit-09d74b3b5ac634495e17b92b2b785fa996ffce97.tar.gz
Some more sparse warning fixes
Proper function declarations and NULL pointer usage.
Diffstat (limited to 'diff-tree.c')
-rw-r--r--diff-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-tree.c b/diff-tree.c
index 0b629d20b3..0fd28f1288 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -262,7 +262,7 @@ static void call_diff_setup(void)
diff_setup(reverse_diff);
}
-static int call_diff_flush()
+static int call_diff_flush(void)
{
if (detect_rename)
diffcore_rename(detect_rename, diff_score_opt);