mirror of
https://github.com/git/git
synced 2024-10-02 14:45:21 +00:00
Merge branch 'jk/function-pointer-mismatches-fix' (early part)
Fix a minor regression that some compiler might notice. * 'jk/function-pointer-mismatches-fix' (early part): fsck: use enum object_type for fsck_walk callback
This commit is contained in:
commit
915e51b74e
|
@ -206,7 +206,7 @@ static int traverse_reachable(void)
|
|||
return !!result;
|
||||
}
|
||||
|
||||
static int mark_used(struct object *obj, int type UNUSED,
|
||||
static int mark_used(struct object *obj, enum object_type type UNUSED,
|
||||
void *data UNUSED, struct fsck_options *options UNUSED)
|
||||
{
|
||||
if (!obj)
|
||||
|
|
Loading…
Reference in a new issue