summaryrefslogtreecommitdiffstats
path: root/diff-tree.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-22 23:33:43 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-22 23:33:43 +0200
commit09d74b3b5ac634495e17b92b2b785fa996ffce97 (patch)
treeb29577975924514627a709b23726578094243c54 /diff-tree.c
parentFix up git-fsck-cache documentation (diff)
downloadgit-09d74b3b5ac634495e17b92b2b785fa996ffce97.tar.xz
git-09d74b3b5ac634495e17b92b2b785fa996ffce97.zip
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);