summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f7f0fbf)
raw | patch | inline | side by side (parent: f7f0fbf)
author | David Rientjes <rientjes@google.com> | |
Mon, 14 Aug 2006 20:36:18 +0000 (13:36 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 15 Aug 2006 01:59:03 +0000 (18:59 -0700) |
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
fsck-objects.c | patch | blob | history |
diff --git a/fsck-objects.c b/fsck-objects.c
index e167f4105ffcf50f0ebfe03378b687569b6a668e..4ba3377aeffa4b0c7868943d688c9a8ed2f5ed08 100644 (file)
--- a/fsck-objects.c
+++ b/fsck-objects.c
sha1_list.nr = ++nr;
}
-static int fsck_dir(int i, char *path)
+static void fsck_dir(int i, char *path)
{
DIR *dir = opendir(path);
struct dirent *de;
if (!dir)
- return 0;
+ return;
while ((de = readdir(dir)) != NULL) {
char name[100];
fprintf(stderr, "bad sha1 file: %s/%s\n", path, de->d_name);
}
closedir(dir);
- return 0;
}
static int default_refs = 0;